瀏覽代碼

https://trac.osgeo.org/grass/ticket/1304: wx: map selection with LANG=C causes error
sort items case-sensitive


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45881 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 14 年之前
父節點
當前提交
b73814b7cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/gselect.py

+ 1 - 1
gui/wxpython/gui_modules/gselect.py

@@ -329,7 +329,7 @@ class TreeCtrlComboPopup(wx.combo.ComboPopup):
                 continue
             try:
                 elem_list = filesdict[mapset]
-                elem_list.sort(key = unicode.lower)
+                elem_list.sort()
                 for elem in elem_list:
                     if elem != '':
                         fullqElem = elem + '@' + mapset