mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 00:04:25 +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
|
else
|
||||||
{
|
{
|
||||||
checkMenuItem(IDM_VIEW_DOC_MAP, true);
|
|
||||||
_toolBar.setCheck(IDM_VIEW_DOC_MAP, true);
|
|
||||||
launchDocMap();
|
launchDocMap();
|
||||||
_pDocMap->setClosed(false);
|
if (_pDocMap)
|
||||||
|
{
|
||||||
|
checkMenuItem(IDM_VIEW_DOC_MAP, true);
|
||||||
|
_toolBar.setCheck(IDM_VIEW_DOC_MAP, true);
|
||||||
|
_pDocMap->setClosed(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user