[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:
parent
adc711fb09
commit
7df06f9925
@ -422,9 +422,7 @@ BOOL CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar
|
|||||||
int tabColourIndex;
|
int tabColourIndex;
|
||||||
if ((tabColourIndex = whichTabColourIndex()) != -1)
|
if ((tabColourIndex = whichTabColourIndex()) != -1)
|
||||||
{
|
{
|
||||||
//::SendMessage(_hParent, WM_UPDATETABBARCOLOUR, tabColourIndex, _pFgColour->getColour());
|
|
||||||
TabBarPlus::setColour(_pFgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
|
TabBarPlus::setColour(_pFgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
apply();
|
apply();
|
||||||
return TRUE;
|
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;
|
tabColourIndex = (int)tabColourIndex == TabBarPlus::inactiveText? TabBarPlus::inactiveBg : tabColourIndex;
|
||||||
TabBarPlus::setColour(_pBgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
|
TabBarPlus::setColour(_pBgColour->getColour(), (TabBarPlus::tabColourIndex)tabColourIndex);
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply();
|
apply();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user