[GRASS-SVN] r30782 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 28 16:18:47 EDT 2008


Author: martinl
Date: 2008-03-28 16:18:47 -0400 (Fri, 28 Mar 2008)
New Revision: 30782

Modified:
   grass/trunk/gui/wxpython/gui_modules/location_wizard.py
Log:
wxGUI (location wizard) disable button 'Next' when EPSG code not given

Modified: grass/trunk/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/location_wizard.py	2008-03-28 15:31:44 UTC (rev 30781)
+++ grass/trunk/gui/wxpython/gui_modules/location_wizard.py	2008-03-28 20:18:47 UTC (rev 30782)
@@ -1219,7 +1219,7 @@
         # self.DoLayout()
 
     def OnEnterPage(self, event):
-        if self.epsgcode:
+        if not self.epsgcode:
             # disable 'next' button by default
             wx.FindWindowById(wx.ID_FORWARD).Enable(False)
         else:



More information about the grass-commit mailing list