浏览代码

wxGUI: Bug fix trac https://trac.osgeo.org/grass/ticket/272 (some commands dialogs have their name crippled)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33192 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父节点
当前提交
06f13e9e6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -573,7 +573,7 @@ class mainFrame(wx.Frame):
         self.parent = parent # LayerTree | None
 
         # module name + keywords
-        title = self.task.name.rstrip('.py').rstrip('.sh')
+        title = self.task.name.replace('.py', '').replace('.sh', '')
         try:
             title +=  " [" + ', '.join( self.task.keywords ) + "]"
         except ValueError: