r18594 by jghali - #11845: Page Sizes -> Defaults button keep adding Active Sizes
scribus-commit
scribus-commit at lists.scribus.net
Fri Nov 22 17:44:13 UTC 2013
Author: jghali
Date: Fri Nov 22 17:44:12 2013
New Revision: 18594
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18594
Log:
#11845: Page Sizes -> Defaults button keep adding Active Sizes
Modified:
trunk/Scribus/scribus/ui/prefs_pagesizes.cpp
Modified: trunk/Scribus/scribus/ui/prefs_pagesizes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18594&path=/trunk/Scribus/scribus/ui/prefs_pagesizes.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_pagesizes.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_pagesizes.cpp Fri Nov 22 17:44:12 2013
@@ -37,7 +37,10 @@
{
PageSize ps(prefsData->docSetupPrefs.pageSize);
QStringList sl(ps.sizeTRList());
+ activeSizesListWidget->clear();
activeSizesListWidget->addItems(ps.activeSizeTRList());
+
+ availableSizesListWidget->clear();
for (int i = 0; i < sl.count(); ++i)
{
if (activeSizesListWidget->findItems(sl.at(i), Qt::MatchExactly).isEmpty())
More information about the scribus-commit
mailing list