From f07ae7d53f511af38d9735c8a0aecc1cce6dc12b Mon Sep 17 00:00:00 2001 From: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:58:32 -0500 Subject: [PATCH] Fix Title Update Manager not selecting right update (#4452) --- Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs b/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs index 3d0b20f7e3..f330006e39 100644 --- a/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs +++ b/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs @@ -105,13 +105,13 @@ public class TitleUpdateViewModel : BaseModel AddUpdate(path); } - // NOTE: Save the list again to remove leftovers. - Save(); - TitleUpdateModel selected = TitleUpdates.FirstOrDefault(x => x.Path == _titleUpdateWindowData.Selected, null); SelectedUpdate = selected; + // NOTE: Save the list again to remove leftovers. + Save(); + SortUpdates(); }