mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: grab treeview focus on refresh
This commit is contained in:
1 parent
580ccf0e83
commit
b6210e450f
2 files changed
+1
-1
No files matched your search
@@ -606,3 +606,4 @@ class Controller:
|
||||
model.append(data)
|
||||
treeview.set_loaded(True)
|
||||
self.update_server_status()
|
||||
treeview.grab_focus()
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user