[GRASS-SVN] r30559 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 14 05:47:00 EDT 2008


Author: martinl
Date: 2008-03-14 05:47:00 -0400 (Fri, 14 Mar 2008)
New Revision: 30559

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: start counting displays at 1 not 0


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-03-14 09:41:56 UTC (rev 30558)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-03-14 09:47:00 UTC (rev 30559)
@@ -108,7 +108,7 @@
         self._auimgr = wx.aui.AuiManager(self)
 
         # initialize variables
-        self.disp_idx      = 0            # index value for map displays and layer trees
+        self.disp_idx      = 1            # index value for map displays and layer trees
         self.curr_page     = ''           # currently selected page for layer tree notebook
         self.curr_pagenum  = ''           # currently selected page number for layer tree notebook
         self.encoding      = 'ISO-8859-1' # default encoding for display fonts



More information about the grass-commit mailing list