Browse Source

wxGUI: apply natural sort also when filtering data

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68103 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 years ago
parent
commit
c226954f51
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/gui_core/dialogs.py

+ 2 - 1
gui/wxpython/gui_core/dialogs.py

@@ -1471,7 +1471,8 @@ class MapLayersDialogBase(wx.Dialog):
                     list.append(layer)
             except:
                 pass
-        
+        list = natural_sort(list)
+
         self.layers.Set(list)
         self.OnSelectAll(None)