浏览代码

wxGUI/catalog: do not expand current mapset after filtering if was filtered out (#763)

Anna Petrasova 4 年之前
父节点
当前提交
96130eedc9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/datacatalog/tree.py

+ 1 - 0
gui/wxpython/datacatalog/tree.py

@@ -972,6 +972,7 @@ class DataCatalogTree(TreeView):
             name = text.strip()
 
         self._model = filterModel(self._orig_model, name=name, element=element)
+        self.UpdateCurrentLocationMapsetNode()
         self.RefreshItems()
         self.ExpandCurrentMapset()