mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 20:40:38 +01:00
fix: lan panel sensitivity
This commit is contained in:
1 parent
d4b346006d
commit
2c8e722d8a
8 files changed
+41
-26
No files matched your search
@@ -71,10 +71,10 @@ class ModSelectionPanel(Gtk.Box):
|
||||
|
||||
def swap_sensitive(self, state: bool) -> None:
|
||||
for child in self.stale_panel.get_children():
|
||||
child.set_sensitive(state)
|
||||
for child in self.main_panel.get_children():
|
||||
if child.enum == ModButton.HIGHLIGHT_STALE:
|
||||
child.set_sensitive(not state)
|
||||
else:
|
||||
child.set_sensitive(state)
|
||||
|
||||
def _on_button_clicked(self, button: EnumeratedModButton) -> None:
|
||||
match button.enum:
|
||||
|
||||
Reference in new issue
Block a user