소스 검색

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 년 전
부모
커밋
e7d447a058
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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")