r21725 by jghali - fix for previous two commits

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 10 13:23:14 UTC 2017


Author: jghali
Date: Tue Jan 10 13:23:13 2017
New Revision: 21725

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21725
Log:
fix for previous two commits

Modified:
    trunk/Scribus/scribus/ui/pageitemattributes.cpp
    trunk/Scribus/scribus/ui/prefs_documentitemattributes.cpp

Modified: trunk/Scribus/scribus/ui/pageitemattributes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21725&path=/trunk/Scribus/scribus/ui/pageitemattributes.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pageitemattributes.cpp	(original)
+++ trunk/Scribus/scribus/ui/pageitemattributes.cpp	Tue Jan 10 13:23:13 2017
@@ -252,7 +252,6 @@
 		QTableWidgetItem *t=attributesTable->verticalHeaderItem(row);
  		if (t != NULL)
 			t->setText(QString("%1").arg(row));
-		row++;
 	}
 	deleteButton->setEnabled(localAttributes.count()!=0);
 	copyButton->setEnabled(localAttributes.count()!=0);

Modified: trunk/Scribus/scribus/ui/prefs_documentitemattributes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21725&path=/trunk/Scribus/scribus/ui/prefs_documentitemattributes.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentitemattributes.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentitemattributes.cpp	Tue Jan 10 13:23:13 2017
@@ -178,7 +178,6 @@
 		QTableWidgetItem *t=attributesTable->verticalHeaderItem(row);
 		if (t!=NULL)
 			t->setText(QString("%1").arg(row));
-		row++;
 	}
 	deleteButton->setEnabled(localAttributes.count()!=0);
 	copyButton->setEnabled(localAttributes.count()!=0);




More information about the scribus-commit mailing list