Browse Source

wxGUI: python scripts prefered

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42367 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
a9c6b57683
1 changed files with 2 additions and 1 deletions
  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: