소스 검색

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 년 전
부모
커밋
f1c070d3a8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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)