mirror of
https://github.com/aclist/dztui.git
synced 2026-11-10 20:10:38 +01:00
chore: drop shrink to fit
This commit is contained in:
1 parent
891abcc049
commit
1715d4c110
7 files changed
+42
-85
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import re
|
||||
|
||||
from typing import Optional, TYPE_CHECKING
|
||||
from typing import Any, Optional, TYPE_CHECKING
|
||||
from warnings import deprecated
|
||||
|
||||
from dzgui.const.enum import FilterMode
|
||||
@@ -17,6 +17,7 @@ import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository.Gtk import TreeIter
|
||||
|
||||
|
||||
class ProxyModelManager:
|
||||
"""
|
||||
Manages access to cached FastInsertListStore resources and
|
||||
@@ -291,3 +292,8 @@ class ProxyModelManager:
|
||||
self.ping_cache = {}
|
||||
# if full:
|
||||
# self.control_model = None
|
||||
|
||||
def push(self, data: list[Any]) -> None:
|
||||
self.wipe_cache()
|
||||
self.set_control(data)
|
||||
self.filter(FilterMode.INITIAL)
|
||||
Reference in new issue
Block a user