fix: grab treeview focus on refresh

This commit is contained in:
aclist 2026-01-01 02:45:08 +09:00
parent 580ccf0e83
commit b6210e450f
2 changed files with 1 additions and 1 deletions

View File

@ -606,3 +606,4 @@ class Controller:
model.append(data)
treeview.set_loaded(True)
self.update_server_status()
treeview.grab_focus()

View File

@ -97,7 +97,6 @@ class RightPanel(Gtk.Box):
self.controller.toggle_debug_mode()
def _on_refresh_clicked(self, button: RefreshButton) -> None:
print("button clicked")
self.controller.refresh_tree()
def _on_ping_clicked(self, button: Gtk.Button) -> None: