Explorar o código

web services, list of layers: if clicked item is not requestable, show selected descendants

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59281 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek %!s(int64=11) %!d(string=hai) anos
pai
achega
fd994968f8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gui/wxpython/web_services/widgets.py

+ 1 - 0
gui/wxpython/web_services/widgets.py

@@ -953,6 +953,7 @@ class LayersList(TreeListCtrl, listmix.ListCtrlAutoWidthMixin):
 
         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() \