[GRASS-SVN] r41874 - grass/branches/develbranch_6/gui/wxpython/gui_modules

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


Author: martinl
Date: 2010-04-14 19:12:29 -0400 (Wed, 14 Apr 2010)
New Revision: 41874

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: set value in data dialog
(merge r41873 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2010-04-14 23:09:11 UTC (rev 41873)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2010-04-14 23:12:29 UTC (rev 41874)
@@ -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