浏览代码

wxGUI: fix https://trac.osgeo.org/grass/ticket/3036 (merge from trunk)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@69071 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 年之前
父节点
当前提交
dab29da845
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/location_wizard/wizard.py

+ 1 - 1
gui/wxpython/location_wizard/wizard.py

@@ -696,7 +696,7 @@ class ProjParamsPage(TitledPage):
         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: