fix: wipe cache when removing row

This commit is contained in:
aclist committed 2026-04-25 19:17:32 +09:00
1 parent ed508c6764
commit 61735d20cf
6 files changed
+20 -13

No files matched your search

+3 -2
View File
@@ -105,8 +105,9 @@ class RefreshButton(IconTextButton):
def _on_refresh_clicked(self, button: Self) -> None:
"""Spawned in a thread"""
self.loading = True
self.controller.refresh_tree()
if self.controller.has_favorites():
self.loading = True
self.controller.refresh_tree()
# TODO: get server tab enum
# if LAN tab, reload existing entries in place