[QGIS Commit] r9832 - trunk/qgis/src/plugins/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Dec 16 12:59:02 EST 2008


Author: jef
Date: 2008-12-16 12:59:02 -0500 (Tue, 16 Dec 2008)
New Revision: 9832

Modified:
   trunk/qgis/src/plugins/grass/qgsgrasstools.cpp
Log:
fix #1461 (there was a new tab added to the toolbox)

Modified: trunk/qgis/src/plugins/grass/qgsgrasstools.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrasstools.cpp	2008-12-16 16:19:18 UTC (rev 9831)
+++ trunk/qgis/src/plugins/grass/qgsgrasstools.cpp	2008-12-16 17:59:02 UTC (rev 9832)
@@ -438,7 +438,7 @@
 {
   QgsDebugMsg( "entered." );
 
-  for ( int i = mTabWidget->count() - 1; i > 1; i-- )
+  for ( int i = mTabWidget->count() - 1; i > 2; i-- )
   {
     delete mTabWidget->widget( i );
     mTabWidget->removeTab( i );



More information about the QGIS-commit mailing list