Merge pull request #5054 from OmrSi/open-original-with-no-subtitle-loaded

Allow open original with no subtitle loaded
This commit is contained in:
Nikolaj Olsson 2021-05-21 20:35:18 +02:00 committed by GitHub
commit 6d37dc46c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21508,7 +21508,6 @@ namespace Nikse.SubtitleEdit.Forms
bool subtitleLoaded = IsSubtitleLoaded;
toolStripMenuItemStatistics.Enabled = subtitleLoaded;
toolStripMenuItemExport.Enabled = subtitleLoaded;
openOriginalToolStripMenuItem.Enabled = subtitleLoaded;
toolStripMenuItemOpenKeepVideo.Enabled = VideoFileName != null;
if (subtitleLoaded && Configuration.Settings.General.AllowEditOfOriginalSubtitle && _subtitleOriginal != null && _subtitleOriginal.Paragraphs.Count > 0)
{