mirror of
https://github.com/lutris/lutris
synced 2024-10-14 19:53:53 +00:00
Emit a view-updated signal instead of reconstructing the store directly in redraw_view
This commit is contained in:
parent
f055e65ce0
commit
00f72b0fb4
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue