Remove association check before enabling 'View Current File In' menu items
Fix #5903, close #6156
This commit is contained in:
parent
7216849723
commit
f477c095aa
@ -2005,10 +2005,10 @@ void Notepad_plus::checkDocState()
|
|||||||
|
|
||||||
enableCommand(IDM_FILE_OPEN_DEFAULT_VIEWER, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
enableCommand(IDM_FILE_OPEN_DEFAULT_VIEWER, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
||||||
|
|
||||||
enableCommand(IDM_VIEW_IN_FIREFOX, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
enableCommand(IDM_VIEW_IN_FIREFOX, isFileExisting, MENU);
|
||||||
enableCommand(IDM_VIEW_IN_CHROME, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
enableCommand(IDM_VIEW_IN_CHROME, isFileExisting, MENU);
|
||||||
enableCommand(IDM_VIEW_IN_IE, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
enableCommand(IDM_VIEW_IN_IE, isFileExisting, MENU);
|
||||||
enableCommand(IDM_VIEW_IN_EDGE, isAssoCommandExisting(curBuf->getFullPathName()), MENU);
|
enableCommand(IDM_VIEW_IN_EDGE, isFileExisting, MENU);
|
||||||
|
|
||||||
enableConvertMenuItems(curBuf->getEolFormat());
|
enableConvertMenuItems(curBuf->getEolFormat());
|
||||||
checkUnicodeMenuItems();
|
checkUnicodeMenuItems();
|
||||||
|
Loading…
Reference in New Issue
Block a user