[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…
Reference in New Issue
Block a user