feat: filtered model WIP

This commit is contained in:
aclist committed 2026-01-25 10:48:57 +09:00
1 parent da8722ec2a
commit 4f04d26231
4 files changed
+48 -19

No files matched your search

+2 -2
View File
@@ -246,7 +246,7 @@ class FilterPanel(Gtk.Box):
check.set_active(not state)
def _on_check_toggled(self, button: Gtk.CheckButton) -> None:
treeview = self.controller.get_active_treeview()
# treeview = self.controller.get_active_treeview()
label = button.get_label()
state = button.get_active()
logger.info(f"User toggled button '{label}' to {state}")
@@ -256,7 +256,7 @@ class FilterPanel(Gtk.Box):
mode = FilterMode.TOGGLE_OFF
self.enabled_filters[label] = state
treeview.filter(mode, label)
self.controller.refilter_model(mode, label)
def _on_map_changed(self, combo: Gtk.ComboBox) -> None:
treeview = self.controller.get_active_treeview()