[GRASS-SVN] r69069 - grass/trunk/gui/wxpython/location_wizard

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 3 08:25:01 PDT 2016


Author: annakrat
Date: 2016-08-03 08:25:01 -0700 (Wed, 03 Aug 2016)
New Revision: 69069

Modified:
   grass/trunk/gui/wxpython/location_wizard/wizard.py
Log:
wxGUI: fix #3036

Modified: grass/trunk/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/trunk/gui/wxpython/location_wizard/wizard.py	2016-08-03 13:47:43 UTC (rev 69068)
+++ grass/trunk/gui/wxpython/location_wizard/wizard.py	2016-08-03 15:25:01 UTC (rev 69069)
@@ -289,7 +289,7 @@
         self.sizer.Add(item=self.radioXy,
                        flag=wx.ALIGN_LEFT, pos=(5, 1))
         self.sizer.Add(item=wx.StaticText(parent=self, label=_("Advanced methods:")),
-                       flag=wx.ALIGN_LEFT, pos=(6, 1))                    
+                       flag=wx.ALIGN_LEFT, pos=(6, 1))
         self.sizer.Add(item=self.radioSrs,
                        flag=wx.ALIGN_LEFT, pos=(7, 1))
         self.sizer.Add(item=self.radioProj,
@@ -759,7 +759,7 @@
         param = self.pparam[id]
         win = self.FindWindowById(id)
         if param['type'] == 'zone':
-            val = event.GetInt()
+            val = self.FindWindowById(id).GetValue()
             if val < 1:
                 win.SetValue(1)
             elif val > 60:



More information about the grass-commit mailing list