r21809 by jghali - avoid selecting prefs tab before prefs values are initialized
scribus-commit
scribus-commit at lists.scribus.net
Sat Mar 4 10:44:10 UTC 2017
Author: jghali
Date: Sat Mar 4 10:44:10 2017
New Revision: 21809
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21809
Log:
avoid selecting prefs tab before prefs values are initialized
Modified:
trunk/Scribus/scribus/ui/preferencesdialog.cpp
Modified: trunk/Scribus/scribus/ui/preferencesdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21809&path=/trunk/Scribus/scribus/ui/preferencesdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/preferencesdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/preferencesdialog.cpp Sat Mar 4 10:44:10 2017
@@ -150,6 +150,12 @@
//**********
+ localPrefs=prefsData;
+ initPreferenceValues();
+ setupGui();
+ if (!doc)
+ addPlugins();
+
if (preferencesTypeList->count()>0)
{
preferencesTypeList->item(0)->setSelected(true);
@@ -162,12 +168,6 @@
connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
connect(applyButton, SIGNAL(clicked()), this, SLOT(applyButtonClicked()));
connect(preferencesTypeList, SIGNAL(itemSelectionChanged()), this, SLOT(newItemSelected()));
-
- localPrefs=prefsData;
- initPreferenceValues();
- setupGui();
- if (!doc)
- addPlugins();
}
More information about the scribus-commit
mailing list