mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Disable menu item until subtitle loaded
This commit is contained in:
parent
b908b49e65
commit
13dbdc55b2
@ -25259,6 +25259,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
toolStripMenuItemOpenContainingFolder.Enabled = !string.IsNullOrEmpty(_fileName) && File.Exists(_fileName);
|
||||
bool subtitleLoaded = IsSubtitleLoaded;
|
||||
toolStripMenuItemVerifyCompleteness.Enabled = subtitleLoaded;
|
||||
toolStripMenuItemStatistics.Enabled = subtitleLoaded;
|
||||
toolStripMenuItemExport.Enabled = subtitleLoaded;
|
||||
toolStripMenuItemOpenKeepVideo.Enabled = _videoFileName != null;
|
||||
|
Loading…
Reference in New Issue
Block a user