fix: update active maps combo on tab change

This commit is contained in:
aclist committed 2026-02-15 23:58:48 +09:00
1 parent 4d0bb2f4f8
commit c3e2f6e4b4
13 files changed
+200 -231

No files matched your search

+3 -2
View File
@@ -44,9 +44,10 @@ class RightPanel(Gtk.Box):
state = self.controller.has_server_model()
for widget in (self.refresh_button, self.filters_vbox):
widget.set_sensitive(state)
# FIXME: may wish to reload these in place to show new data
if context in (ServerTab.RECENT, ServerTab.SAVED):
self.refresh_button.set_sensitive(False)
# if context in (ServerTab.RECENT, ServerTab.SAVED):
# self.refresh_button.set_sensitive(False)
# TODO: reference for ping pass
# def _on_ping_clicked(self, button: Gtk.Button) -> None: