[BUG_FIXED] Fix the crash bug while closing Notepad++ if Styles Configurator is never launched.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@27 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
750ff805fc
commit
07ac344588
|
@ -6652,7 +6652,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
|||
|
||||
const NppGUI & nppgui = pNppParam->getNppGUI();
|
||||
|
||||
if (::IsWindowVisible(_configStyleDlg.getHSelf()))
|
||||
if (_configStyleDlg.isCreated() && ::IsWindowVisible(_configStyleDlg.getHSelf()))
|
||||
_configStyleDlg.restoreGlobalOverrideValues();
|
||||
|
||||
Session currentSession;
|
||||
|
|
Loading…
Reference in New Issue