Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
06f13e9e6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: