mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 16:42:13 +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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user