[qet] qet/qet: [5803] Minor fix : in the diagram editor, when we select several shapes at the same time, the properties widget only apply the change to one shape.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5803
Author:   blacksun
Date:     2019-03-19 18:44:18 +0100 (Tue, 19 Mar 2019)
Log Message:
-----------
Minor fix : in the diagram editor, when we select several shapes at the same time, the properties widget only apply the change to one shape. 

Modified Paths:
--------------
    trunk/sources/ui/diagrampropertieseditordockwidget.cpp

Modified: trunk/sources/ui/diagrampropertieseditordockwidget.cpp
===================================================================
--- trunk/sources/ui/diagrampropertieseditordockwidget.cpp	2019-03-19 17:31:46 UTC (rev 5802)
+++ trunk/sources/ui/diagrampropertieseditordockwidget.cpp	2019-03-19 17:44:18 UTC (rev 5803)
@@ -178,7 +178,7 @@
 
 			clear();
 			m_edited_qgi_type = type_;
-			addEditor(new ShapeGraphicsItemPropertiesWidget(static_cast<QetShapeItem*>(item), this));
+			addEditor(new ShapeGraphicsItemPropertiesWidget(shapes_list, this));
 			break;
 		}
 		case DynamicElementTextItem::Type: //1010


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/