r23359 by jghali - #15925: Selecting nodes always highlights the top left node

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 14 04:27:27 UTC 2019


Author: jghali
Date: Thu Nov 14 04:27:27 2019
New Revision: 23359

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23359
Log:
#15925: Selecting nodes always highlights the top left node

Modified:
    trunk/Scribus/scribus/canvasmode_nodeedit.cpp

Modified: trunk/Scribus/scribus/canvasmode_nodeedit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23359&path=/trunk/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_nodeedit.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_nodeedit.cpp	Thu Nov 14 04:27:27 2019
@@ -154,7 +154,8 @@
 		const auto& selectedNodes = m_doc->nodeEdit.selNode();
 		for (int i = 0; i < selectedNodes.count(); ++i)
 		{
-			cli.point(i, &x, &y);
+			int selectedNode = selectedNodes.at(i);
+			cli.point(selectedNode, &x, &y);
 			p->drawPoint(QPointF(x, y));
 		}
 	}




More information about the scribus-commit mailing list