r20041 by jghali - save printer option being incorrectly saved as a string and retrieved as an integer in PrintDialog

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 30 21:52:36 UTC 2015


Author: jghali
Date: Thu Apr 30 21:52:36 2015
New Revision: 20041

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20041
Log:
save printer option being incorrectly saved as a string and retrieved as an integer in PrintDialog

Modified:
    trunk/Scribus/scribus/ui/prefs_printer.cpp

Modified: trunk/Scribus/scribus/ui/prefs_printer.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20041&path=/trunk/Scribus/scribus/ui/prefs_printer.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_printer.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_printer.cpp Thu Apr 30 21:52:36 2015
@@ -117,7 +117,7 @@
 	prefs->set("Separations", static_cast<int>(outputComboBox->currentIndex()==1));
 	//FIXME: This comparison looks wrong.
 	prefs->set("PrintColor", static_cast<int>(!(postscriptPrintToColorComboBox->currentIndex()==0)));
-	prefs->set("SepArt", tr("All"));
+	prefs->set("SepArt", 0);
 	prefs->set("MirrorH", pageMirrorHorizontallyCheckBox->isChecked());
 	prefs->set("MirrorV", pageMirrorVerticallyCheckBox->isChecked());
 	prefs->set("DoGCR", applyUnderColorRemovalCheckBox->isChecked());




More information about the scribus-commit mailing list