Fix unexpected font change on first Preference change (issue #3637)

This commit is contained in:
Hombre
2017-03-12 23:18:04 +01:00
parent ebd9e5e132
commit 0578010fce
2 changed files with 63 additions and 11 deletions

View File

@@ -208,10 +208,13 @@ class Preferences : public Gtk::Dialog, public ProfileStoreListener
Glib::ustring storedValueImg;
Options moptions;
sigc::connection tconn, sconn, fconn, addc, setc, dfconn, ffconn, bpconn, rpconn, ipconn;
sigc::connection tconn, sconn, fconn, cpfconn, addc, setc, dfconn, ffconn, bpconn, rpconn, ipconn;
sigc::connection autoMonProfileConn, sndEnableConn, langAutoDetectConn, autocielabConn;
Glib::ustring initialTheme;
Glib::ustring initialFont;
Glib::ustring initialFontFamily;
int initialFontSize;
bool newFont;
bool newCPFont;
void fillPreferences ();
void storePreferences ();
@@ -222,6 +225,7 @@ class Preferences : public Gtk::Dialog, public ProfileStoreListener
void workflowUpdate();
void themeChanged ();
void fontChanged ();
void cpFontChanged ();
void forRAWComboChanged ();
void forImageComboChanged ();
void layoutComboChanged ();