[qet] qet/qet: [5028] Minor : remove the QetGraphicsItemHandler returned by the function zValue |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5028
Author: blacksun
Date: 2017-08-24 16:48:58 +0200 (Thu, 24 Aug 2017)
Log Message:
-----------
Minor : remove the QetGraphicsItemHandler returned by the function zValue
Modified Paths:
--------------
trunk/sources/editor/elementscene.cpp
Modified: trunk/sources/editor/elementscene.cpp
===================================================================
--- trunk/sources/editor/elementscene.cpp 2017-08-24 12:38:35 UTC (rev 5027)
+++ trunk/sources/editor/elementscene.cpp 2017-08-24 14:48:58 UTC (rev 5028)
@@ -771,7 +771,8 @@
QGraphicsItem *qgi = i.value();
if (
qgi -> type() == ElementPrimitiveDecorator::Type ||
- qgi -> type() == QGraphicsRectItem::Type
+ qgi -> type() == QGraphicsRectItem::Type ||
+ qgi->type() == QetGraphicsHandlerItem::Type
) {
i.remove();
helpers << qgi;