Emit a view-updated signal instead of reconstructing the store directly in redraw_view

This commit is contained in:
Mathieu Comandon 2024-01-07 18:00:20 -08:00
parent f055e65ce0
commit 00f72b0fb4

View file

@ -769,8 +769,8 @@ class LutrisWindow(Gtk.ApplicationWindow,
self.update_view_settings()
self.games_stack.set_visible_child_name(view_type)
self.update_store()
self.update_action_state()
self.emit("view-updated")
def rebuild_view(self, view_type):
"""Discards the view named by 'view_type' and if it is the current view,