not needed, because it is the same than a few lines below

This commit is contained in:
Martin Marmsoler
2020-05-26 22:19:25 +02:00
committed by Laurent Trinques
parent cccc4fc0c4
commit f2c796bdb0

View File

@@ -629,22 +629,6 @@ void QETElementEditor::slot_updateInformations()
}
if(selected_qgis.size() == 1)
{
QGraphicsItem *qgi = selected_qgis.first();
if (CustomElementPart *selection = dynamic_cast<CustomElementPart *>(qgi))
{
if (QWidget *widget = m_tools_dock_stack->widget(1))
{
if (ElementItemEditor *editor = dynamic_cast<ElementItemEditor *>(widget))
{
if(editor->currentPart() == selection)
return;
}
}
}
}
//There's one selected item
if (selected_qgis.size() == 1)
{