From 50c2a300e7f5cecb90e3ae9724ef9f5ff6824c75 Mon Sep 17 00:00:00 2001 From: SinghRajenM Date: Sat, 8 Jul 2017 01:26:08 +0530 Subject: [PATCH] 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 --- PowerEditor/src/Notepad_plus.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index b53f4f222..f12032f7c 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -5767,6 +5767,10 @@ void Notepad_plus::launchFileBrowser(const vector & folders) } _pFileBrowser->display(); + + checkMenuItem(IDM_VIEW_FILEBROWSER, true); + _toolBar.setCheck(IDM_VIEW_FILEBROWSER, true); + _pFileBrowser->setClosed(false); }