Browse Source

fix https://trac.osgeo.org/grass/changeset/37010

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37013 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 years ago
parent
commit
1317bc607b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/gui_modules/menuform.py

+ 2 - 2
gui/wxpython/gui_modules/menuform.py

@@ -190,8 +190,8 @@ class UpdateThread(Thread):
                 if prompt == 'vector':
                 if prompt == 'vector':
                     name = p.get('name', '')
                     name = p.get('name', '')
                     if name in ('map', 'input'):
                     if name in ('map', 'input'):
-                        eventId = p['wxId']
-            if eventId is None:
+                        self.eventId = p['wxId']
+            if self.eventId is None:
                 return
                 return
         
         
         p = self.task.get_param(self.eventId, element='wxId', raiseError=False)
         p = self.task.get_param(self.eventId, element='wxId', raiseError=False)