mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 19:27:13 +02:00
fix: apply keyword filter when refreshing (#469)
This commit is contained in:
parent
667203b4f9
commit
64d784f9a0
@ -298,4 +298,6 @@ class ProxyModelManager:
|
||||
def push(self, data: list[Any]) -> None:
|
||||
self.wipe_cache()
|
||||
self.set_control(data)
|
||||
self.filter(FilterMode.INITIAL)
|
||||
cur_keyword = self.filter_man.get_active_keyword()
|
||||
mode = FilterMode.TOGGLE_ON if len(cur_keyword) > 0 else FilterMode.INITIAL
|
||||
self.filter(mode)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user