[GRASS-SVN] r67279 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 20 05:21:30 PST 2015


Author: martinl
Date: 2015-12-20 05:21:30 -0800 (Sun, 20 Dec 2015)
New Revision: 67279

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/gselect: don't ingored set value for GdalSelect


Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-20 13:06:38 UTC (rev 67278)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-20 13:21:30 UTC (rev 67279)
@@ -1695,6 +1695,9 @@
                                  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)
 



More information about the grass-commit mailing list