mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
ElementEditor: in ArcEditor::setPart remove redundant calls to StyleEditor::setPart
This commit is contained in:
committed by
Laurent Trinques
parent
72918a31db
commit
45d1b489c4
@@ -109,7 +109,6 @@ bool ArcEditor::setPart(CustomElementPart *new_part)
|
||||
disconnectChangeConnections();
|
||||
|
||||
part = nullptr;
|
||||
style_ -> setPart(nullptr);
|
||||
return(true);
|
||||
}
|
||||
|
||||
@@ -119,7 +118,6 @@ bool ArcEditor::setPart(CustomElementPart *new_part)
|
||||
if (part)
|
||||
disconnectChangeConnections();
|
||||
part = part_arc;
|
||||
style_ -> setPart(part);
|
||||
updateForm();
|
||||
setUpChangeConnections();
|
||||
return(true);
|
||||
|
||||
Reference in New Issue
Block a user