Преглед на файлове

Trac https://trac.osgeo.org/grass/ticket/630 - Fix "Mapset Access" broken (wxpython) (tranks to Royce Cline for patch)
(merge from devbr6, https://trac.osgeo.org/grass/changeset/37880)


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

Martin Landa преди 16 години
родител
ревизия
415a358859
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      gui/wxpython/gui_modules/preferences.py

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

@@ -1832,7 +1832,7 @@ class CheckListMapset(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Check
         
         mapsets = []
         if ret:
-            mapsets = ret.rstrip('\n').split('|')
+            mapsets = ret.replace('\n', '').split('|')
         
         for mapset in mapsets:
             index = self.InsertStringItem(sys.maxint, mapset)