mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 05:45:00 +02:00
Fix a GUI bug of "Folder as Workspace"
Bug : while click on close button of Folder as Workspace Panel, it still appears activated on toolbar and in the menu.
This commit is contained in:
parent
d7a0649c1f
commit
951c51a32a
@ -34,6 +34,7 @@
|
|||||||
#include "Parameters.h"
|
#include "Parameters.h"
|
||||||
#include "RunDlg.h"
|
#include "RunDlg.h"
|
||||||
#include "ReadDirectoryChanges.h"
|
#include "ReadDirectoryChanges.h"
|
||||||
|
#include "menuCmdID.h"
|
||||||
|
|
||||||
#define CX_BITMAP 16
|
#define CX_BITMAP 16
|
||||||
#define CY_BITMAP 16
|
#define CY_BITMAP 16
|
||||||
@ -447,8 +448,12 @@ void FileBrowser::openSelectFile()
|
|||||||
|
|
||||||
|
|
||||||
void FileBrowser::notified(LPNMHDR notification)
|
void FileBrowser::notified(LPNMHDR notification)
|
||||||
{
|
{
|
||||||
if ((notification->hwndFrom == _treeView.getHSelf()))
|
if (notification->code == DMN_CLOSE)
|
||||||
|
{
|
||||||
|
::SendMessage(_hParent, WM_COMMAND, IDM_VIEW_FILEBROWSER, 0);
|
||||||
|
}
|
||||||
|
else if ((notification->hwndFrom == _treeView.getHSelf()))
|
||||||
{
|
{
|
||||||
TCHAR textBuffer[MAX_PATH];
|
TCHAR textBuffer[MAX_PATH];
|
||||||
TVITEM tvItem;
|
TVITEM tvItem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user