r17879 by fschmid - Fixed Bug #10788: "rotation consistency in Object > Transform"

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 15 20:20:10 UTC 2012


Author: fschmid
Date: Thu Nov 15 20:20:10 2012
New Revision: 17879

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17879
Log:
Fixed Bug #10788: "rotation consistency in Object > Transform"

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

Modified: trunk/Scribus/scribus/ui/transformdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17879&path=/trunk/Scribus/scribus/ui/transformdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/transformdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/transformdialog.cpp Thu Nov 15 20:20:10 2012
@@ -234,8 +234,8 @@
 {
 	QListWidgetItem* item = transformSelector->currentItem();
 	TransformItem *ite = (TransformItem*)item;
-	ite->firstValue = val;
-	item->setText( tr("Rotate Angle = %1%2").arg(ite->firstValue).arg(unitGetSuffixFromIndex(6)));
+	ite->firstValue = -val;
+	item->setText( tr("Rotate Angle = %1%2").arg(-ite->firstValue).arg(unitGetSuffixFromIndex(6)));
 }
 
 void TransformDialog::changeHSkew(double val)




More information about the scribus-commit mailing list