[GRASS-SVN] r41873 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 14 19:09:12 EDT 2010


Author: martinl
Date: 2010-04-14 19:09:11 -0400 (Wed, 14 Apr 2010)
New Revision: 41873

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: set value in data dialog


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-04-14 22:50:39 UTC (rev 41872)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-04-14 23:09:11 UTC (rev 41873)
@@ -1132,6 +1132,7 @@
         self.element = gselect.Select(parent = self.panel, id = wx.ID_ANY,
                                       size = globalvar.DIALOG_GSELECT_SIZE,
                                       type = prompt)
+        self.element.SetValue(shape.GetValue())
         
         self.Bind(wx.EVT_BUTTON, self.OnOK,     self.btnOK)
         self.Bind(wx.EVT_BUTTON, self.OnCancel, self.btnCancel)



More information about the grass-commit mailing list