Fix artefact on qgraphics scene when remove a linked element

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3534 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-12-07 15:47:58 +00:00
parent 438f98d34b
commit 5ab965588b
2 changed files with 8 additions and 4 deletions

View File

@@ -129,6 +129,7 @@ void CommentItem::updateLabel() {
text_bounding.adjust(-1,0,1,0); //adjust only for better visual
painter.drawRoundedRect(text_bounding, 2, 2);
prepareGeometryChange();
m_bounding_rect = text_bounding;
}