From e6f082f6af05e582438e8776c46dc79589a3c149 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 14 Sep 2013 19:44:07 +0000 Subject: [PATCH] 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 --- sources/editor/editorcommands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/editor/editorcommands.cpp b/sources/editor/editorcommands.cpp index 9d5edce77..8f3a5c68e 100644 --- a/sources/editor/editorcommands.cpp +++ b/sources/editor/editorcommands.cpp @@ -157,7 +157,7 @@ void PastePartsCommand::undo() { editor_view_ -> offset_paste_count_ = old_offset_paste_count_; editor_view_ -> start_top_left_corner_ = old_start_top_left_corner_; } - //editor_view_ -> zoomFit(); + editor_view_ -> adjustSceneRect(); } /// refait le coller @@ -176,7 +176,7 @@ void PastePartsCommand::redo() { } } editor_scene_ -> slot_select(content_); - //editor_view_ -> zoomFit(); + editor_view_ -> adjustSceneRect(); } /**