mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
ElementEditor: in RectangleEditor::setPart remove redundant calls to StyleEditor::setPart
This commit is contained in:
committed by
Laurent Trinques
parent
45d1b489c4
commit
dd70637408
@@ -77,7 +77,6 @@ bool RectangleEditor::setPart(CustomElementPart *part)
|
|||||||
disconnectChangeConnections();
|
disconnectChangeConnections();
|
||||||
}
|
}
|
||||||
m_part = nullptr;
|
m_part = nullptr;
|
||||||
m_style->setPart(nullptr);
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,7 +90,6 @@ bool RectangleEditor::setPart(CustomElementPart *part)
|
|||||||
disconnectChangeConnections();
|
disconnectChangeConnections();
|
||||||
}
|
}
|
||||||
m_part = part_rectangle;
|
m_part = part_rectangle;
|
||||||
m_style->setPart(m_part);
|
|
||||||
updateForm();
|
updateForm();
|
||||||
setUpChangeConnections();
|
setUpChangeConnections();
|
||||||
return(true);
|
return(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user