From: Georg Baum Date: Fri, 18 Mar 2011 21:13:05 +0000 (+0000) Subject: Fix the reset buttom for the greyed out text color: X-Git-Tag: 2.0.0~495 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d40c9f0548a403c1b3fc4ba85635224de24c23ae;p=features.git Fix the reset buttom for the greyed out text color: 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 --- diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 141afbcf06..6e64db3329 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -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();