[GRASS-SVN] r48631 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 5 04:37:04 EDT 2011
Author: martinl
Date: 2011-10-05 01:37:04 -0700 (Wed, 05 Oct 2011)
New Revision: 48631
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: don't show prop dialog when command has some options
defined
(merge r48626 from trunk)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-05 08:36:01 UTC (rev 48630)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-05 08:37:04 UTC (rev 48631)
@@ -1231,7 +1231,7 @@
# show properties dialog
win = action.GetPropDialog()
- if not win and action.GetLog(string = False):
+ if not win and len(action.GetLog(string = False)) == 1:
module = menuform.GUI(parent = self, show = True).ParseCommand(action.GetLog(string = False),
completed = (self.GetOptData, action, action.GetParams()))
elif win and not win.IsShown():
More information about the grass-commit
mailing list