Procházet zdrojové kódy

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 před 16 roky
rodič
revize
06f13e9e6c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: