Fix Dark mode default theme not being applied bug
This commit is contained in:
parent
6c19e88242
commit
19c3035d5a
|
@ -215,6 +215,10 @@ void Notepad_plus_Window::init(HINSTANCE hInst, HWND parent, const TCHAR *cmdLin
|
|||
themeDir.clear();
|
||||
themeDir = nppDir.c_str(); // <- should use the pointer to avoid the constructor of copy
|
||||
PathAppend(themeDir, TEXT("themes\\"));
|
||||
|
||||
if (themeSwitcher.getThemeDirPath().empty())
|
||||
themeSwitcher.setThemeDirPath(themeDir);
|
||||
|
||||
_notepad_plus_plus_core.getMatchedFileNames(themeDir.c_str(), patterns, fileNames, false, false);
|
||||
for (size_t i = 0, len = fileNames.size(); i < len ; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue