From de5f41931428fa14bc10b63de6cea26df683c82d Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 28 Nov 2022 19:08:26 +0100 Subject: [PATCH] Fix the tab context menu reload command's state not synchronized Fix #12579 --- PowerEditor/src/NppNotification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/NppNotification.cpp b/PowerEditor/src/NppNotification.cpp index 20eda1091..6dd584cf2 100644 --- a/PowerEditor/src/NppNotification.cpp +++ b/PowerEditor/src/NppNotification.cpp @@ -581,7 +581,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) bool isFileExisting = PathFileExists(buf->getFullPathName()) != FALSE; _tabPopupMenu.enableItem(IDM_FILE_DELETE, isFileExisting); - //_tabPopupMenu.enableItem(IDM_FILE_RENAME, isFileExisting); + _tabPopupMenu.enableItem(IDM_FILE_RELOAD, isFileExisting); _tabPopupMenu.enableItem(IDM_FILE_OPEN_FOLDER, isFileExisting); _tabPopupMenu.enableItem(IDM_FILE_OPEN_CMD, isFileExisting);