Fix style.xml not remember by light mode

pull/12567/head
Don Ho 2 years ago
parent e2a1234384
commit 4c188c3019

@ -405,7 +405,7 @@ intptr_t CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM
::SendMessage(_hParent, WM_UPDATEMAINMENUBITMAPS, 0, 0);
const TCHAR* fn = ::PathFindFileName(_themeName.c_str());
NppDarkMode::setThemeName(fn);
NppDarkMode::setThemeName(lstrcmp(fn, L"stylers.xml") == 0 ? L"" : fn);
return TRUE;
}

Loading…
Cancel
Save