Fixed Folder as Workspace toolbar button not activated issue

Dropping folder into Notepad++ to have Folder as Workspace not make its
toolbar button activated. This bug is fixed by this commit.

Fixes #3282, closes #3501
This commit is contained in:
SinghRajenM 2017-07-08 01:26:08 +05:30 committed by Don HO
parent 55b8bad2af
commit 50c2a300e7
1 changed files with 4 additions and 0 deletions

View File

@ -5767,6 +5767,10 @@ void Notepad_plus::launchFileBrowser(const vector<generic_string> & folders)
}
_pFileBrowser->display();
checkMenuItem(IDM_VIEW_FILEBROWSER, true);
_toolBar.setCheck(IDM_VIEW_FILEBROWSER, true);
_pFileBrowser->setClosed(false);
}