Browse Source

wxGUI/RunCommand: set caption for error dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54497 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
e7d447a058
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/wxpython/core/gcmd.py

+ 1 - 0
gui/wxpython/core/gcmd.py

@@ -678,6 +678,7 @@ def RunCommand(prog, flags = "", overwrite = False, quiet = False, verbose = Fal
             Debug.msg(2, "gcmd.RunCommand(): nothing to print ???")
         else:
             GError(parent = parent,
+                   caption = _("Error in %s") % prog,
                    message = stderr)
     
     Debug.msg(3, "gcmd.RunCommand(): print read error")