mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
fix: do not check favorites on other tabs
This commit is contained in:
parent
9bd286a924
commit
5834f39289
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user