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:
scorpio810
2013-09-14 19:44:07 +00:00
parent 74354275f3
commit e6f082f6af

View File

@@ -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();
} }
/** /**