Diagram command : minor imrpovement

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3391 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-10-21 20:29:16 +00:00
parent 183ea8ca77
commit 50f897f688
5 changed files with 3 additions and 37 deletions

View File

@@ -155,17 +155,6 @@ void ElementsMover::endMovement() {
current_movement_
);
// Add info needed to the position of conductors texte
foreach(ConductorTextItem *text_item, updated_conductors_text_pos_.keys()) {
if (text_item -> pos() != updated_conductors_text_pos_[text_item]) {
undo_object -> addConductorTextItemMovement(
text_item,
updated_conductors_text_pos_[text_item],
text_item -> pos()
);
}
}
diagram_ -> undoStack().push(undo_object);
}