[GRASS-SVN] r69218 - grass/trunk/gui/wxpython/datacatalog

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 22 16:24:19 PDT 2016


Author: annakrat
Date: 2016-08-22 16:24:19 -0700 (Mon, 22 Aug 2016)
New Revision: 69218

Modified:
   grass/trunk/gui/wxpython/datacatalog/tree.py
Log:
wxGUI/datacatalog: fix needed for Windows

Modified: grass/trunk/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/trunk/gui/wxpython/datacatalog/tree.py	2016-08-22 21:58:47 UTC (rev 69217)
+++ grass/trunk/gui/wxpython/datacatalog/tree.py	2016-08-22 23:24:19 UTC (rev 69218)
@@ -347,7 +347,6 @@
         if errors:
             wx.CallAfter(GWarning, '\n'.join(errors))
         Debug.msg(1, "Tree filled")
-        self.RefreshNode(self._model.root)
         self.RefreshItems()
 
     def InitTreeItems(self):
@@ -358,7 +357,6 @@
         """Reload locations, mapsets and layers in the tree."""
         self._orig_model = self._model
         self._model.RemoveNode(self._model.root)
-        self.RefreshNode(self._model.root)
         self.InitTreeItems()
 
     def ReloadCurrentMapset(self):
@@ -863,7 +861,6 @@
             name = text.strip()
 
         self._model = filterModel(self._orig_model, name=name, element=element)
-        self.RefreshNode(self._model.root)
         self.RefreshItems()
         self.ExpandCurrentMapset()
 



More information about the grass-commit mailing list