[qet] [3804] Fix warning (moveDiagramUpTop)

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


Revision: 3804
Author:   scorpio810
Date:     2015-03-04 22:38:15 +0100 (Wed, 04 Mar 2015)
Log Message:
-----------
Fix warning (moveDiagramUpTop)

Modified Paths:
--------------
    trunk/sources/projectview.cpp

Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp	2015-03-04 21:13:13 UTC (rev 3803)
+++ trunk/sources/projectview.cpp	2015-03-04 21:38:15 UTC (rev 3804)
@@ -512,7 +512,7 @@
 		// le schema est le premier du projet
 		return;
 	}
-	tabs_ -> moveTab(diagram_view_position, (diagrams().size()-1, 0));
+	tabs_ -> moveTab(diagram_view_position, (diagrams().size(), 0));
 }
 
 /**


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