Browse Source

wxGUI: interactive file input - check also for prompt

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51202 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
875a49d3bb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/wxpython/gui_core/forms.py

+ 1 - 0
gui/wxpython/gui_core/forms.py

@@ -1389,6 +1389,7 @@ class CmdPanel(wx.Panel):
                     # 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,