[GRASS-SVN] r69071 - grass/branches/releasebranch_7_0/gui/wxpython/location_wizard

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 3 08:32:14 PDT 2016


Author: annakrat
Date: 2016-08-03 08:32:14 -0700 (Wed, 03 Aug 2016)
New Revision: 69071

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/location_wizard/wizard.py
Log:
wxGUI: fix #3036 (merge from trunk)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/location_wizard/wizard.py	2016-08-03 15:28:25 UTC (rev 69070)
+++ grass/branches/releasebranch_7_0/gui/wxpython/location_wizard/wizard.py	2016-08-03 15:32:14 UTC (rev 69071)
@@ -696,7 +696,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