mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 04:20:39 +01:00
fix: wipe cache when removing row
This commit is contained in:
1 parent
ed508c6764
commit
61735d20cf
6 files changed
+20
-13
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user