[GRASS-SVN] r59281 - grass/trunk/gui/wxpython/web_services

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 18 03:42:12 PDT 2014


Author: turek
Date: 2014-03-18 03:42:12 -0700 (Tue, 18 Mar 2014)
New Revision: 59281

Modified:
   grass/trunk/gui/wxpython/web_services/widgets.py
Log:
web services, list of layers: if clicked item is not requestable, show selected descendants

Modified: grass/trunk/gui/wxpython/web_services/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/widgets.py	2014-03-18 07:17:26 UTC (rev 59280)
+++ grass/trunk/gui/wxpython/web_services/widgets.py	2014-03-18 10:42:12 UTC (rev 59281)
@@ -953,6 +953,7 @@
 
         def _selectRequestableChildren(item, list_to_check, items_to_sel):
 
+            self.Expand(item)
             child_item, cookie = self.GetFirstChild(item)
             while child_item.IsOk():
                 if  self.GetPyData(child_item)['layer'].IsRequestable() \



More information about the grass-commit mailing list