aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>2023-02-22 15:58:32 -0500
committerGitHub <noreply@github.com>2023-02-22 17:58:32 -0300
commitf07ae7d53f511af38d9735c8a0aecc1cce6dc12b (patch)
tree5df56ca0a75857e8411903bb4dfb6f399c86c789
parentc308f09722fdcd46b71c7f0892ebeb31a6345b3c (diff)
Fix Title Update Manager not selecting right update (#4452)1.1.636
-rw-r--r--Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs b/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs
index 3d0b20f7..f330006e 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();
}