mirror of
https://github.com/aclist/dztui.git
synced 2026-11-05 17:45:10 +01:00
chore: abstract filter panel components
This commit is contained in:
1 parent
b14c63b23c
commit
d4b346006d
6 files changed
+370
-166
No files matched your search
@@ -116,6 +116,7 @@ class ServerTreeView(ContextMixin, TreeView):
|
||||
self.emitter.connect("servers_loaded", self._on_servers_loaded)
|
||||
|
||||
def _on_servers_loaded(self, emitter: "Emitter", tab: "ServerTab") -> None:
|
||||
# FIXME: gets called on every tab, should be localized only to that context
|
||||
state = self.controller.has_server_model()
|
||||
self.set_headers_clickable(state)
|
||||
|
||||
|
||||
Reference in new issue
Block a user