Selaa lähdekoodia

wxGUI/modeler: set value in data dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41873 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 vuotta sitten
vanhempi
commit
0dd7117ffc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      gui/wxpython/gui_modules/gmodeler.py

+ 1 - 0
gui/wxpython/gui_modules/gmodeler.py

@@ -1132,6 +1132,7 @@ class ModelDataDialog(ElementDialog):
         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)