[GRASS-SVN] r51135 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 21 17:28:04 EDT 2012


Author: martinl
Date: 2012-03-21 14:28:04 -0700 (Wed, 21 Mar 2012)
New Revision: 51135

Modified:
   grass/trunk/gui/wxpython/gmodeler/dialogs.py
Log:
wGUI/modeler: fix data dialog (remove unused variable)


Modified: grass/trunk/gui/wxpython/gmodeler/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/dialogs.py	2012-03-21 21:19:52 UTC (rev 51134)
+++ grass/trunk/gui/wxpython/gmodeler/dialogs.py	2012-03-21 21:28:04 UTC (rev 51135)
@@ -52,8 +52,7 @@
         label, etype = self._getLabel()
         ElementDialog.__init__(self, parent, title, label = label, etype = etype)
                 
-        self.element = Select(parent = self.panel,
-                              type = prompt)
+        self.element = Select(parent = self.panel)
         self.element.SetValue(shape.GetValue())
         
         self.Bind(wx.EVT_BUTTON, self.OnOK,     self.btnOK)



More information about the grass-commit mailing list