r17496 by fschmid - Fixed incorrect setting of unit suffix for the page number spinboxes in the "Copy/Move Page" dialog.

scribus-commit scribus-commit at lists.scribus.net
Sun May 6 08:38:10 UTC 2012


Author: fschmid
Date: Sun May  6 08:38:10 2012
New Revision: 17496

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17496
Log:
Fixed incorrect setting of unit suffix for the page number spinboxes in the "Copy/Move Page" dialog.

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

Modified: trunk/Scribus/scribus/ui/movepage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17496&path=/trunk/Scribus/scribus/ui/movepage.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/movepage.cpp (original)
+++ trunk/Scribus/scribus/ui/movepage.cpp Sun May  6 08:38:10 2012
@@ -40,6 +40,7 @@
 	fromPageData->setMinimum(1);
 	fromPageData->setMaximum(maxPages);
 	fromPageData->setValue( currentPage );
+	fromPageData->setSuffix("");
 	uint currentRow = 0;
 	fromToLayout->addWidget( moveLabel, currentRow, 0);
 	fromToLayout->addWidget( fromPageData, currentRow, 1);
@@ -52,6 +53,7 @@
 		toPageData->setMinimum(1);
 		toPageData->setMaximum(maxPages);
 		toPageData->setValue( currentPage );
+		toPageData->setSuffix("");
 		fromToLayout->addWidget( toLabel, currentRow, 2);
 		fromToLayout->addWidget( toPageData, currentRow, 3);
 	}
@@ -62,6 +64,7 @@
 		numberOfCopiesData->setDecimals(0);
 		numberOfCopiesData->setMinimum(1);
 		numberOfCopiesData->setMaximum(999);
+		numberOfCopiesData->setSuffix("");
 		++currentRow;
 		fromToLayout->addWidget(numberOfCopiesLabel, currentRow, 0);
 		fromToLayout->addWidget(numberOfCopiesData, currentRow, 1);
@@ -77,6 +80,7 @@
 	mvWherePageData->setDecimals(0);
 	mvWherePageData->setMaximum(maxPages);
 	mvWherePageData->setValue( currentPage );
+	mvWherePageData->setSuffix("");
 	mvWherePageData->setDisabled( true );
 	fromToLayout->addWidget( mvWhereData, currentRow, 0 );
 	fromToLayout->addItem(new QSpacerItem(moveLabel->fontMetrics().width( tr( "Move Page(s):" )), 0), currentRow, 1);




More information about the scribus-commit mailing list