From 3fcb8823d3e4473d3ff3ed08b82fa8ba069b2e93 Mon Sep 17 00:00:00 2001 From: blacksun Date: Thu, 3 Jul 2014 22:48:36 +0000 Subject: [PATCH] element editor -> save element : text field ins't include in the bounding rect of the element (better behavior with xref and more handy in general use). git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3191 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/editor/elementscene.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/editor/elementscene.cpp b/sources/editor/elementscene.cpp index c8462595e..2f21a2ecf 100644 --- a/sources/editor/elementscene.cpp +++ b/sources/editor/elementscene.cpp @@ -522,6 +522,7 @@ QRectF ElementScene::elementSceneGeometricRect() const{ foreach (QGraphicsItem *qgi, items()) { if (qgi -> type() == ElementPrimitiveDecorator::Type) continue; if (qgi -> type() == QGraphicsRectItem::Type) continue; + if (qgi -> type() == PartTextField::Type) continue; if (CustomElementPart *cep = dynamic_cast (qgi)) { esgr |= cep -> sceneGeometricRect(); }