From 00f72b0fb4a457e3a3db4f7f774c9a5222fb686c Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Sun, 7 Jan 2024 18:00:20 -0800 Subject: [PATCH] Emit a view-updated signal instead of reconstructing the store directly in redraw_view --- lutris/gui/lutriswindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/gui/lutriswindow.py b/lutris/gui/lutriswindow.py index 57a11d079..0d1873d3a 100644 --- a/lutris/gui/lutriswindow.py +++ b/lutris/gui/lutriswindow.py @@ -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,