mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
[ENHANCEMENT] Avoid Notepad++ crash.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1116 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
f552ef85a7
commit
8e1850a547
@ -383,10 +383,13 @@ void Notepad_plus::command(int id)
|
||||
}
|
||||
else
|
||||
{
|
||||
checkMenuItem(IDM_VIEW_DOC_MAP, true);
|
||||
_toolBar.setCheck(IDM_VIEW_DOC_MAP, true);
|
||||
launchDocMap();
|
||||
_pDocMap->setClosed(false);
|
||||
if (_pDocMap)
|
||||
{
|
||||
checkMenuItem(IDM_VIEW_DOC_MAP, true);
|
||||
_toolBar.setCheck(IDM_VIEW_DOC_MAP, true);
|
||||
_pDocMap->setClosed(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user