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
+1
View File
@@ -67,6 +67,7 @@ class Statusbar(Gtk.Grid):
self.controller.populate_log()
def _on_log_page_loaded(self, emitter: "Emitter") -> None:
# FIXME: fails if button was not previously drawn
self.alert_button.hide()
def _on_mod_page_loaded(self, emitter: "Emitter") -> None: