mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Fix hotspot auto when importing element in the draw area
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2536 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -157,7 +157,7 @@ void PastePartsCommand::undo() {
|
|||||||
editor_view_ -> offset_paste_count_ = old_offset_paste_count_;
|
editor_view_ -> offset_paste_count_ = old_offset_paste_count_;
|
||||||
editor_view_ -> start_top_left_corner_ = old_start_top_left_corner_;
|
editor_view_ -> start_top_left_corner_ = old_start_top_left_corner_;
|
||||||
}
|
}
|
||||||
//editor_view_ -> zoomFit();
|
editor_view_ -> adjustSceneRect();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// refait le coller
|
/// refait le coller
|
||||||
@@ -176,7 +176,7 @@ void PastePartsCommand::redo() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
editor_scene_ -> slot_select(content_);
|
editor_scene_ -> slot_select(content_);
|
||||||
//editor_view_ -> zoomFit();
|
editor_view_ -> adjustSceneRect();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user