Author: baum
Date: Fri Mar 18 22:13:05 2011
New Revision: 37956
URL: http://www.lyx.org/trac/changeset/37956
Log:
Fix the reset buttom for the greyed out text color:
Reset to the default greyed out text color, not to the note background color
Modified:
lyx-devel/trunk/src/frontends/qt4/GuiDocument.cpp
Modified: lyx-devel/trunk/src/frontends/qt4/GuiDocument.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiDocument.cpp Fri Mar 18 19:56:05
2011 (r37955)
+++ lyx-devel/trunk/src/frontends/qt4/GuiDocument.cpp Fri Mar 18 22:13:05
2011 (r37956)
@@ -1577,7 +1577,7 @@
void GuiDocument::deleteNoteFontColor()
{
// set the button color back to pref
- theApp()->getRgbColor(Color_notebg, set_notefontcolor);
+ theApp()->getRgbColor(Color_greyedouttext, set_notefontcolor);
colorModule->noteFontColorPB->setStyleSheet(
colorButtonStyleSheet(rgb2qcolor(set_notefontcolor)));
changed();