r19626 by craig - #12807: Apply patch

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 13 20:01:19 UTC 2014


Author: craig
Date: Thu Nov 13 20:01:19 2014
New Revision: 19626

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19626
Log:
#12807: Apply patch

Modified:
    branches/Version14x/Scribus/scribus/canvasmode_create.cpp

Modified: branches/Version14x/Scribus/scribus/canvasmode_create.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19626&path=/branches/Version14x/Scribus/scribus/canvasmode_create.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/canvasmode_create.cpp (original)
+++ branches/Version14x/Scribus/scribus/canvasmode_create.cpp Thu Nov 13 20:01:19 2014
@@ -292,7 +292,11 @@
 			QRectF createObjectRect(createObjectPos.x(), createObjectPos.y(), wSize, hSize);
 			createObjectRect = createObjectRect.normalized();
 			if (createObjectMode != modeDrawLine)
-				m_canvas->displaySizeHUD(m->globalPos(), createObjectRect.width(), createObjectRect.height(), false);
+			{
+				if (modifiers == Qt::ControlModifier)
+					hSize = wSize;
+				m_canvas->displaySizeHUD(m->globalPos(), wSize, hSize, false);
+			}
 			else
 			{
 				double angle = -xy2Deg(wSize, hSize);




More information about the scribus-commit mailing list