r20291 by craig - #13268: Default button duplicates printer list in Preferences

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 29 20:37:54 UTC 2015


Author: craig
Date: Wed Jul 29 20:37:54 2015
New Revision: 20291

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20291
Log:
#13268: Default button duplicates printer list in Preferences

Modified:
    branches/Version14x/Scribus/scribus/tabprinter.cpp

Modified: branches/Version14x/Scribus/scribus/tabprinter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20291&path=/branches/Version14x/Scribus/scribus/tabprinter.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/tabprinter.cpp (original)
+++ branches/Version14x/Scribus/scribus/tabprinter.cpp Wed Jul 29 20:37:54 2015
@@ -67,6 +67,7 @@
 	QString printerName;
 	QStringList printerNames = PrinterUtil::getPrinterNames();
 	int numPrinters = printerNames.count();
+	defaultPrinter->clear();
 	for( int i = 0; i < numPrinters; i++)
 	{
 		printerName = printerNames[i];




More information about the scribus-commit mailing list