mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +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);
|
toolStripMenuItemOpenContainingFolder.Enabled = !string.IsNullOrEmpty(_fileName) && File.Exists(_fileName);
|
||||||
bool subtitleLoaded = IsSubtitleLoaded;
|
bool subtitleLoaded = IsSubtitleLoaded;
|
||||||
|
toolStripMenuItemVerifyCompleteness.Enabled = subtitleLoaded;
|
||||||
toolStripMenuItemStatistics.Enabled = subtitleLoaded;
|
toolStripMenuItemStatistics.Enabled = subtitleLoaded;
|
||||||
toolStripMenuItemExport.Enabled = subtitleLoaded;
|
toolStripMenuItemExport.Enabled = subtitleLoaded;
|
||||||
toolStripMenuItemOpenKeepVideo.Enabled = _videoFileName != null;
|
toolStripMenuItemOpenKeepVideo.Enabled = _videoFileName != null;
|
||||||
|
Loading…
Reference in New Issue
Block a user