Disable couple of File menu items when it's needed.i
Fixes #2620, Closes #2858
This commit is contained in:
parent
9fa1637605
commit
1caa457aae
@ -1933,6 +1933,9 @@ void Notepad_plus::checkDocState()
|
||||
|
||||
enableCommand(IDM_FILE_DELETE, isFileExisting, MENU);
|
||||
enableCommand(IDM_FILE_RENAME, isFileExisting, MENU);
|
||||
enableCommand(IDM_FILE_OPEN_CMD, isFileExisting, MENU);
|
||||
enableCommand(IDM_FILE_OPEN_FOLDER, isFileExisting, MENU);
|
||||
enableCommand(IDM_FILE_RELOAD, isFileExisting, MENU);
|
||||
|
||||
enableConvertMenuItems(curBuf->getEolFormat());
|
||||
checkUnicodeMenuItems();
|
||||
|
Loading…
Reference in New Issue
Block a user