Removed win.games

This commit is contained in:
GeoffreyCoulaud
2023-07-01 02:56:40 +02:00
parent b3c2437618
commit 8d082ab158
5 changed files with 6 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
self.toast.dismiss()
def remove_all_games(self, *_args):
for game in self.win.games.values():
for game in shared.store.games.values():
if not game.removed:
self.removed_games.add(game)