mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 20:22:37 +01:00
fix: do not check favorites on other tabs
This commit is contained in:
1 parent
9bd286a924
commit
5834f39289
1 file changed
+2
-3
@@ -105,9 +105,8 @@ class RefreshButton(IconTextButton):
|
||||
|
||||
def _on_refresh_clicked(self, button: Self) -> None:
|
||||
"""Spawned in a thread"""
|
||||
if self.controller.has_favorites():
|
||||
self.loading = True
|
||||
self.controller.refresh_tree()
|
||||
self.loading = True
|
||||
self.controller.refresh_tree()
|
||||
# TODO: get server tab enum
|
||||
# if LAN tab, reload existing entries in place
|
||||
|
||||
|
||||
Reference in new issue
Block a user