mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
not needed, because it is the same than a few lines below
This commit is contained in:
committed by
Laurent Trinques
parent
cccc4fc0c4
commit
f2c796bdb0
@@ -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
|
//There's one selected item
|
||||||
if (selected_qgis.size() == 1)
|
if (selected_qgis.size() == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user