Explorar o código

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

Anna Petrasova %!s(int64=4) %!d(string=hai) anos
pai
achega
96130eedc9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()