[GRASS-SVN] r69258 - grass/branches/releasebranch_7_2/gui/wxpython/datacatalog
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 25 13:03:29 PDT 2016
Author: annakrat
Date: 2016-08-25 13:03:29 -0700 (Thu, 25 Aug 2016)
New Revision: 69258
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/datacatalog/tree.py
Log:
wxGUI/datacatalog: fix needed for Windows (merge from trunk, r69218)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/datacatalog/tree.py 2016-08-25 18:50:34 UTC (rev 69257)
+++ grass/branches/releasebranch_7_2/gui/wxpython/datacatalog/tree.py 2016-08-25 20:03:29 UTC (rev 69258)
@@ -360,7 +360,6 @@
if errors:
wx.CallAfter(GWarning, '\n'.join(errors))
Debug.msg(1, "Tree filled")
- self.RefreshNode(self._model.root)
self.RefreshItems()
def InitTreeItems(self):
@@ -371,7 +370,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):
@@ -870,7 +868,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