[GRASS-SVN] r44162 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 1 21:19:24 EDT 2010


Author: martinl
Date: 2010-11-01 18:19:24 -0700 (Mon, 01 Nov 2010)
New Revision: 44162

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/dialog: fix --v/q flags


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-02 01:14:47 UTC (rev 44161)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-02 01:19:24 UTC (rev 44162)
@@ -1677,8 +1677,8 @@
         
     def OnVerbosity(self, event):
         """!Verbosity level changed"""
-        verbose = self.FindWindowById(self.task.get_flag('verbose')['wxId'])
-        quiet = self.FindWindowById(self.task.get_flag('quiet')['wxId'])
+        verbose = self.FindWindowById(self.task.get_flag('verbose')['wxId'][0])
+        quiet = self.FindWindowById(self.task.get_flag('quiet')['wxId'][0])
         if event.IsChecked():
             if event.GetId() == verbose.GetId():
                 if quiet.IsChecked():



More information about the grass-commit mailing list