mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 16:42:13 +01:00
fix: change lan panel tate on map/unmap
This commit is contained in:
1 parent
89fcfcb5d6
commit
f9083b33ef
5 files changed
+6
-11
No files matched your search
@@ -278,9 +278,7 @@ class ConnectPanel(Gtk.Box):
|
||||
|
||||
for el in self.lan, self.fav, self.add_panel:
|
||||
self.add(el)
|
||||
|
||||
def set_lan_visible(self, state: bool) -> None:
|
||||
self.lan.set_visible(state)
|
||||
self.lan.set_visible(False)
|
||||
|
||||
def _on_lan_tab_toggled(self, emitter: "Emitter", state: bool) -> None:
|
||||
self.set_lan_visible(state)
|
||||
self.lan.set_visible(state)
|
||||
Reference in new issue
Block a user