mirror of
https://github.com/aclist/dztui.git
synced 2026-11-02 16:12:11 +01:00
fix: prevent toggling when panel is insensitive
This commit is contained in:
1 parent
46117ecdda
commit
2cc26b6573
1 file changed
+2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user