Explorar o código

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