Minor : remove the QetGraphicsItemHandler returned by the function zValue

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5028 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-24 14:48:58 +00:00
parent 78a2b8a301
commit 57f34b4ee2

View File

@@ -771,7 +771,8 @@ QList<QGraphicsItem *> ElementScene::zItems(ItemOptions options) const {
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;