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(); disconnectChangeConnections();
part = nullptr; part = nullptr;
style_ -> setPart(nullptr);
return(true); return(true);
} }
@@ -119,7 +118,6 @@ bool ArcEditor::setPart(CustomElementPart *new_part)
if (part) if (part)
disconnectChangeConnections(); disconnectChangeConnections();
part = part_arc; part = part_arc;
style_ -> setPart(part);
updateForm(); updateForm();
setUpChangeConnections(); setUpChangeConnections();
return(true); return(true);