mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user