[qet] [2881] Basic shapes prepare to right menu

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


Revision: 2881
Author:   scorpio810
Date:     2014-02-27 14:48:24 +0100 (Thu, 27 Feb 2014)
Log Message:
-----------
Basic shapes prepare to right menu

Modified Paths:
--------------
    trunk/sources/diagramview.cpp

Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp	2014-02-27 12:54:09 UTC (rev 2880)
+++ trunk/sources/diagramview.cpp	2014-02-27 13:48:24 UTC (rev 2881)
@@ -714,6 +714,7 @@
 		if (
 			qgraphicsitem_cast<Element *>(qgi) ||
 			qgraphicsitem_cast<IndependentTextItem *>(qgi) ||
+			qgraphicsitem_cast<QetShapeItem *>(qgi) ||
 			qgraphicsitem_cast<DiagramImageItem *>(qgi)
 		) {
 			return(true);
@@ -732,6 +733,7 @@
 			qgraphicsitem_cast<Element *>(qgi) ||
 			qgraphicsitem_cast<Conductor *>(qgi) ||
 			qgraphicsitem_cast<IndependentTextItem *>(qgi) ||
+			qgraphicsitem_cast<QetShapeItem *>(qgi) ||
 			qgraphicsitem_cast<DiagramImageItem *>(qgi)
 		) {
 			return(true);


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