[GRASS-SVN] r69070 - grass/branches/releasebranch_7_2/gui/wxpython/location_wizard
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 3 08:28:25 PDT 2016
Author: annakrat
Date: 2016-08-03 08:28:25 -0700 (Wed, 03 Aug 2016)
New Revision: 69070
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/location_wizard/wizard.py
Log:
wxGUI: fix #3036 (merge from trunk)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/location_wizard/wizard.py 2016-08-03 15:25:01 UTC (rev 69069)
+++ grass/branches/releasebranch_7_2/gui/wxpython/location_wizard/wizard.py 2016-08-03 15:28:25 UTC (rev 69070)
@@ -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