瀏覽代碼

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 11 年之前
父節點
當前提交
fd994968f8
共有 1 個文件被更改,包括 1 次插入0 次删除
  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() \