diff --git a/sources/editor/qetelementeditor.cpp b/sources/editor/qetelementeditor.cpp index b88fc6beb..7f1f1cc3e 100644 --- a/sources/editor/qetelementeditor.cpp +++ b/sources/editor/qetelementeditor.cpp @@ -629,22 +629,6 @@ void QETElementEditor::slot_updateInformations() } - if(selected_qgis.size() == 1) - { - QGraphicsItem *qgi = selected_qgis.first(); - if (CustomElementPart *selection = dynamic_cast(qgi)) - { - if (QWidget *widget = m_tools_dock_stack->widget(1)) - { - if (ElementItemEditor *editor = dynamic_cast(widget)) - { - if(editor->currentPart() == selection) - return; - } - } - } - } - //There's one selected item if (selected_qgis.size() == 1) {