Browse Source

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 years ago
parent
commit
dab29da845
1 changed files with 1 additions and 1 deletions
  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: