mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
Fix Folder as Workspace toolbar icon inconsist behaviour
Fix Folder as Workspace toolbar button inconsist state while closing Folder as Workspace windows directely (by clicking X button) Fixes #2249, closes #2263
This commit is contained in:
parent
c364144c39
commit
029cb09893
@ -111,6 +111,8 @@ void Notepad_plus::command(int id)
|
||||
if (_pFileBrowser->isClosed())
|
||||
{
|
||||
_pFileBrowser->display();
|
||||
checkMenuItem(IDM_VIEW_FILEBROWSER, true);
|
||||
_toolBar.setCheck(IDM_VIEW_FILEBROWSER, true);
|
||||
_pFileBrowser->setClosed(false);
|
||||
}
|
||||
}
|
||||
@ -2521,7 +2523,7 @@ void Notepad_plus::command(int id)
|
||||
{
|
||||
if (_nativeLangSpeaker.getLangEncoding() == NPP_CP_BIG5)
|
||||
{
|
||||
char *authorName = "«J¤µ§^";
|
||||
char *authorName = "«J¤µ§^";
|
||||
HWND hItem = ::GetDlgItem(_aboutDlg.getHSelf(), IDC_AUTHOR_NAME);
|
||||
|
||||
WcharMbcsConvertor *wmc = WcharMbcsConvertor::getInstance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user