[BUG_FIXED] Fix the bug that modified tab interface colour settings cannot be saved in stylers configurator.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1164 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2013-12-26 17:01:17 +00:00
parent adc711fb09
commit 7df06f9925

View File

@ -422,9 +422,7 @@ BOOL CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar
int tabColourIndex;
if ((tabColourIndex = whichTabColourIndex()) != -1)
{
//::SendMessage(_hParent, WM_UPDATETABBARCOLOUR, tabColourIndex, _pFgColour->getColour());
TabBarPlus::setColour(_pFgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
return TRUE;
}
apply();
return TRUE;
@ -438,9 +436,7 @@ BOOL CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar
{
tabColourIndex = (int)tabColourIndex == TabBarPlus::inactiveText? TabBarPlus::inactiveBg : tabColourIndex;
TabBarPlus::setColour(_pBgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
return TRUE;
}
apply();
return TRUE;
}