[GRASS-SVN] r72373 - grass/trunk/gui/wxpython/datacatalog
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 16 04:02:21 PDT 2018
Author: martinl
Date: 2018-03-16 04:02:21 -0700 (Fri, 16 Mar 2018)
New Revision: 72373
Modified:
grass/trunk/gui/wxpython/datacatalog/tree.py
Log:
wxGUI/datatalog: fix standalone double click, see r72370
Modified: grass/trunk/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/trunk/gui/wxpython/datacatalog/tree.py 2018-03-16 10:58:40 UTC (rev 72372)
+++ grass/trunk/gui/wxpython/datacatalog/tree.py 2018-03-16 11:02:21 UTC (rev 72373)
@@ -476,11 +476,12 @@
Display selected layer if node is a map layer otherwise
expand/collapse node.
"""
- self.DefineItems(node)
- if self.selected_layer:
- # display selected layer and return
- self.DisplayLayer()
- return
+ if not isinstance(self._giface, StandaloneGrassInterface):
+ self.DefineItems(node)
+ if self.selected_layer:
+ # display selected layer and return
+ self.DisplayLayer()
+ return
# expand/collapse location/mapset...
if self.IsNodeExpanded(node):
More information about the grass-commit
mailing list