From 4983db972e0aa05bbd6c4ebf7b24a587a8cf1ef6 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Mon, 1 Apr 2013 23:40:03 +0000 Subject: [PATCH] Removing the posibility to call html editor on the text conductor git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2084 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sources/diagramview.cpp b/sources/diagramview.cpp index bc316eb51..7d13c124c 100644 --- a/sources/diagramview.cpp +++ b/sources/diagramview.cpp @@ -1144,9 +1144,7 @@ void DiagramView::editText() { // Get text to edit QList texts_to_edit; foreach (QGraphicsItem *item, scene -> selectedItems()) { - if (ConductorTextItem *cti = qgraphicsitem_cast(item)) { - texts_to_edit << cti; - } else if (IndependentTextItem *iti = qgraphicsitem_cast(item)) { + if (IndependentTextItem *iti = qgraphicsitem_cast(item)) { texts_to_edit << iti; } else if (ElementTextItem *eti = qgraphicsitem_cast(item)) { // here...