chore: drop shrink to fit

This commit is contained in:
aclist committed 2026-04-19 19:18:56 +09:00
1 parent 891abcc049
commit 1715d4c110
7 files changed
+42 -85

No files matched your search

+7 -1
View File
@@ -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)