fix: do not check favorites on other tabs

This commit is contained in:
aclist 2026-04-25 20:29:38 +09:00
parent 9bd286a924
commit 5834f39289

View File

@ -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