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

This commit is contained in:
damianCaceres
2020-08-03 21:04:35 +01:00
committed by Laurent Trinques
parent 45d1b489c4
commit dd70637408

View File

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