Improve code style

This commit is contained in:
Simon De Backer
2020-08-16 14:23:25 +02:00
parent 574609abf5
commit 8a484ef901
5 changed files with 43 additions and 39 deletions

View File

@@ -243,7 +243,7 @@ void DiagramEventAddElement::addElement()
if (m_diagram->freezeNewConductors() || m_diagram->project()->isFreezeNewConductors()) {
conductor->setFreezeLabel(true);
}
}
}
m_diagram -> undoStack().push(undo_object);
element->setUpFormula();