Переглянути джерело

wxGUI/datacatalog: change method name from https://trac.osgeo.org/grass/changeset/61150 (cosmetics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61151 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 роки тому
батько
коміт
80e5b2e367
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      gui/wxpython/lmgr/datacatalog.py

+ 2 - 2
gui/wxpython/lmgr/datacatalog.py

@@ -75,7 +75,7 @@ class DataCatalog(wx.Panel):
 
     def LoadItemsDone(self):
         self._loaded = True
-        self.tree.ExpandCurrent()
+        self.tree.ExpandCurrentLocation()
 
 class LocationMapTree(wx.TreeCtrl):
     def __init__(self, parent):
@@ -258,7 +258,7 @@ class LocationMapTree(wx.TreeCtrl):
             stringm = 'MAPSET='+mapset
             RunCommand('g.gisenv', set=stringm)
 
-    def ExpandCurrent(self):
+    def ExpandCurrentLocation(self):
         """Expand current location"""
         location = grass.gisenv()['LOCATION_NAME']
         item = self.getItemByName(location, self.root)