mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Update Policy now works with conductor autonumberings
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4680 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -232,6 +232,8 @@ void DiagramEventAddElement::addElement()
|
||||
ConductorAutoNumerotation can (conductor, m_diagram, undo_object);
|
||||
can.numerate();
|
||||
conductor->setSeq = true;
|
||||
if (m_diagram->freezeNewConductors() || m_diagram->project()->freezeNewConductors() )
|
||||
conductor->freeze_label = true;
|
||||
};
|
||||
m_diagram -> undoStack().push(undo_object);
|
||||
element->setSequential();
|
||||
|
||||
Reference in New Issue
Block a user