mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +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();
|
||||
}
|
||||
m_part = nullptr;
|
||||
m_style->setPart(nullptr);
|
||||
return(true);
|
||||
}
|
||||
|
||||
@@ -91,7 +90,6 @@ bool RectangleEditor::setPart(CustomElementPart *part)
|
||||
disconnectChangeConnections();
|
||||
}
|
||||
m_part = part_rectangle;
|
||||
m_style->setPart(m_part);
|
||||
updateForm();
|
||||
setUpChangeConnections();
|
||||
return(true);
|
||||
|
||||
Reference in New Issue
Block a user