ElementEditor: in ArcEditor::setPart remove redundant calls to StyleEditor::setPart

This commit is contained in:
damianCaceres
2020-08-03 21:02:29 +01:00
committed by Laurent Trinques
parent 72918a31db
commit 45d1b489c4

View File

@@ -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);