浏览代码

wxGUI/modeler: reset label and comment in search dialog

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

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

@@ -282,6 +282,8 @@ class ModelSearchDialog(wx.Dialog):
     def Reset(self):
         """!Reset dialog"""
         self.search.Reset()
+        self.label.SetValue('')
+        self.comment.SetValue('')
         self.cmd_prompt.OnCmdErase(None)
         self.cmd_prompt.SetFocus()