r21501 by jghali - #14360: PP Rotation on multiple selections

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 10 18:29:04 UTC 2016


Author: jghali
Date: Thu Nov 10 18:29:04 2016
New Revision: 21501

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21501
Log:
#14360: PP Rotation on multiple selections

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

Modified: trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21501&path=/trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp	Thu Nov 10 18:29:04 2016
@@ -325,10 +325,10 @@
 	noPrint->setChecked(!i->printEnabled());
 	showFlippedH(i->imageFlippedH());
 	showFlippedV(i->imageFlippedV());
-	m_oldRotation = i->rotation();
 	double rr = i->rotation();
 	if (i->rotation() > 0)
 		rr = 360 - rr;
+	m_oldRotation = fabs(rr);
 	rotationSpin->setValue(fabs(rr));
 
 //CB TODO reconnect PP signals from here




More information about the scribus-commit mailing list