Browse Source

wxGUI/gselect: don't ingored set value for GdalSelect

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

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

@@ -1695,6 +1695,9 @@ class CmdPanel(wx.Panel):
                                  win.fileWidgets['browse'].GetChildren()[1].GetId(),
                                  win.dirWidgets['browse'].GetChildren()[1].GetId(),
                                  win.dbWidgets['choice'].GetId()]
+                    value = self._getValue(p)
+                    if value:
+                        win.fileWidgets['browse'].GetChildren()[1].SetValue(value) # parameter previously set
                     which_sizer.Add(item = win, proportion = 0,
                                     flag = wx.EXPAND)