diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 81a4e65d99..221379a4fe 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -828,8 +828,8 @@ GuiApplication::GuiApplication(int & argc, char ** argv) lyxrc.typewriter_font_name = fromqstr(typewriterFontName()); // initialize colors - setColor(Color_background, palette(), QPalette::Window); - setColor(Color_foreground, palette(), QPalette::WindowText); + setColor(Color_background, palette(), QPalette::Base); + setColor(Color_foreground, palette(), QPalette::Text); setColor(Color_selection, palette(), QPalette::Highlight); setColor(Color_selectiontext, palette(), QPalette::HighlightedText);