]> git.lyx.org Git - features.git/commitdiff
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5011
authorAbdelrazak Younes <younes@lyx.org>
Fri, 11 Jul 2008 09:35:05 +0000 (09:35 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 11 Jul 2008 09:35:05 +0000 (09:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25562 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiPrefs.h

index f7c59d79c2258f124878e0e889191f27862fb937..e9e8c544c6831e135544ed18ab31e9716c61ba28 100644 (file)
@@ -2556,13 +2556,6 @@ void GuiPreferences::applyView()
        apply(rc());
 }
 
-
-void GuiPreferences::updateContents()
-{
-       updateRc(rc());
-}
-
-
 bool GuiPreferences::initialiseParams(string const &)
 {
        rc_ = lyxrc;
@@ -2572,6 +2565,7 @@ bool GuiPreferences::initialiseParams(string const &)
        movers_ = theMovers();
        colors_.clear();
        update_screen_font_ = false;
+       updateRc(rc_);
 
        return true;
 }
index 6aed28dfefe3ecee45ef259a53b5b4e94c843e69..b3cc0e57ae7cd9e17b33313538b8549703e5a5d2 100644 (file)
@@ -75,8 +75,6 @@ public Q_SLOTS:
 public:
        /// Apply changes
        void applyView();
-       /// update (do we need this?)
-       void updateContents();
 
        std::vector<PrefModule *> modules_;