r19217 by jghali - #12377: "Transform" does not manage correctly units

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 12 17:05:32 UTC 2014


Author: jghali
Date: Thu Jun 12 17:05:31 2014
New Revision: 19217

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19217
Log:
#12377: "Transform" does not manage correctly units

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

Modified: trunk/Scribus/scribus/ui/transformdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19217&path=/trunk/Scribus/scribus/ui/transformdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/transformdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/transformdialog.cpp Thu Jun 12 17:05:31 2014
@@ -63,8 +63,8 @@
 	m_doc = doc;
 	m_unitRatio = unitGetRatioFromIndex(m_doc->unitIndex());
 	m_suffix = unitGetSuffixFromIndex(m_doc->unitIndex());
-	translateHorizontal->setSuffix(m_suffix);
-	translateVertical->setSuffix(m_suffix);
+	translateHorizontal->setNewUnit(m_doc->unitIndex());
+	translateVertical->setNewUnit(m_doc->unitIndex());
 	rotationValue->setWrapping( true );
 	rotationValue->setValues( -180.0, 180.0, 1, 0);
 	rotationValue->setSuffix(unitGetSuffixFromIndex(6));




More information about the scribus-commit mailing list