]> git.lyx.org Git - features.git/commitdiff
Fix the reset buttom for the greyed out text color:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 18 Mar 2011 21:13:05 +0000 (21:13 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 18 Mar 2011 21:13:05 +0000 (21:13 +0000)
Reset to the default greyed out text color, not to the note background color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37956 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDocument.cpp

index 141afbcf0625d75bf4da1974c048d9e92fa94cf2..6e64db3329480f51425ebea0cfd73501bb9b5104 100644 (file)
@@ -1577,7 +1577,7 @@ void GuiDocument::changeNoteFontColor()
 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();