fix: prevent toggling when panel is insensitive

This commit is contained in:
aclist committed 2026-11-01 23:47:06 +09:00
1 parent 46117ecdda
commit 2cc26b6573
1 file changed
+2
+2
View File
@@ -313,6 +313,8 @@ class FilterPanel(Gtk.Box):
return True
def toggle_check(self, digit: int) -> None:
if not self.button_grid.is_sensitive():
return
checks = self.button_grid.get_checkboxes()
check = checks[digit]
state = check.get_active()