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...