From dc3267f1529c18c01a3005ec49597cea89218213 Mon Sep 17 00:00:00 2001 From: TheToid Date: Tue, 22 Oct 2024 14:22:13 +1000 Subject: [PATCH] Ensure we unselect the previously selected update when auto selcting a new update (#30) --- src/Ryujinx.UI.Common/App/ApplicationLibrary.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs index ca94f086b..ff8d9b141 100644 --- a/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs @@ -986,6 +986,10 @@ namespace Ryujinx.UI.App.Common var shouldSelect = !currentlySelected.HasValue || currentlySelected.Value.TitleUpdate.Version < update.Version; _titleUpdates.AddOrUpdate((update, shouldSelect)); + + if (currentlySelected.HasValue && shouldSelect) + _titleUpdates.AddOrUpdate((currentlySelected.Value.TitleUpdate, false)); + SaveTitleUpdatesForGame(update.TitleIdBase); numUpdatesLoaded++;