From ab0afb759630c1b0bd0bd32ef7f3434dded348fb Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 14 Sep 2013 03:29:35 +0000 Subject: [PATCH] Element editor: disable zoomFit after paste a primitive. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2531 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 60f70fb7d..9d5edce77 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_ -> zoomFit(); } /// refait le coller @@ -176,7 +176,7 @@ void PastePartsCommand::redo() { } } editor_scene_ -> slot_select(content_); - editor_view_ -> zoomFit(); + //editor_view_ -> zoomFit(); } /**