浏览代码

wxGUI: python scripts prefered

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42367 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
a9c6b57683
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/wxgui.py

+ 2 - 1
gui/wxpython/wxgui.py

@@ -440,7 +440,8 @@ class GMFrame(wx.Frame):
         """!Run script"""
         # open dialog and choose script file
         dlg = wx.FileDialog(parent = self, message = _("Choose script file"),
-                            defaultDir = os.getcwd(), wildcard = _("Bash script (*.sh)|*.sh|Python script (*.py)|*.py"))
+                            defaultDir = os.getcwd(),
+                            wildcard = _("Python script (*.py)|*.py|Bash script (*.sh)|*.sh"))
         
         filename = None
         if dlg.ShowModal() == wx.ID_OK: