[qet] [2536] Fix hotspot auto when importing element in the draw area

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2536
Author:   scorpio810
Date:     2013-09-14 21:44:07 +0200 (Sat, 14 Sep 2013)
Log Message:
-----------
Fix hotspot auto when importing element in the draw area

Modified Paths:
--------------
    trunk/sources/editor/editorcommands.cpp

Modified: trunk/sources/editor/editorcommands.cpp
===================================================================
--- trunk/sources/editor/editorcommands.cpp	2013-09-14 14:42:24 UTC (rev 2535)
+++ trunk/sources/editor/editorcommands.cpp	2013-09-14 19:44:07 UTC (rev 2536)
@@ -157,7 +157,7 @@
 		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 @@
 		}
 	}
 	editor_scene_ -> slot_select(content_);
-	//editor_view_ -> zoomFit();
+	editor_view_ -> adjustSceneRect();
 }
 
 /**


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/