[GRASS-SVN] r51202 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 30 13:10:47 EDT 2012
Author: martinl
Date: 2012-03-30 10:10:46 -0700 (Fri, 30 Mar 2012)
New Revision: 51202
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: interactive file input - check also for prompt
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2012-03-30 16:56:36 UTC (rev 51201)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2012-03-30 17:10:46 UTC (rev 51202)
@@ -1389,6 +1389,7 @@
# we have to target the button here
p['wxId'] = [ fbb.GetChildren()[1].GetId() ]
if p.get('age', 'new') == 'old' and \
+ p.get('prompt', 'input') == 'input' and \
UserSettings.Get(group = 'cmd', key = 'interactiveInput', subkey = 'enabled'):
# widget for interactive input
ifbb = wx.TextCtrl(parent = which_panel, id = wx.ID_ANY,
More information about the grass-commit
mailing list