浏览代码

wGUI/modeler: fix data dialog (remove unused variable)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51135 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
504f47a173
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      gui/wxpython/gmodeler/dialogs.py

+ 1 - 2
gui/wxpython/gmodeler/dialogs.py

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