Browse Source

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

Anna Petrasova 4 years ago
parent
commit
96130eedc9
1 changed files with 1 additions and 0 deletions
  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()