From d40c9f0548a403c1b3fc4ba85635224de24c23ae Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 18 Mar 2011 21:13:05 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2