Check against use of 'appid' when in 'Games' view

Resolves #5366
This commit is contained in:
Daniel Johnson 2024-03-19 05:47:37 -04:00
parent ed0f86e6f6
commit 12a49aabdf

View file

@ -413,7 +413,7 @@ class LutrisWindow(Gtk.ApplicationWindow, DialogLaunchUIDelegate, DialogInstallU
def game_matches(self, game):
if self.filters.get("installed"):
if game["appid"] not in games_db.get_service_games(self.service.id):
if "appid" in game and game["appid"] not in games_db.get_service_games(self.service.id):
return False
text = self.filters.get("text")
if not text: