From b94ab27b359a2defc837b97d1c7d96b0012f567d Mon Sep 17 00:00:00 2001 From: Don Ho Date: Thu, 25 Nov 2010 22:56:02 +0000 Subject: [PATCH] [BUG_FIXED] (Author: Christian Cuvier) Fix the changing theme settings makes switch back to the default theme bug. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@719 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp index d8d724938..4611839f2 100644 --- a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp +++ b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp @@ -100,6 +100,7 @@ BOOL CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar if (! themeInfo.second.compare( nppParamInst->getNppGUI()._themeName ) ) { _currentThemeIndex = j; + _themeName.assign(themeInfo.second); } if (! themeInfo.first.compare(TEXT("Default")) ) {