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
pull/2308/merge
Rajendra Singh 8 years ago committed by Don Ho
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…
Cancel
Save