aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/UI/Controls/GameListView.axaml.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2023-01-09 04:37:20 +0100
committerGitHub <noreply@github.com>2023-01-09 03:37:20 +0000
commit610eecc1c1fec2203fff1ebd71cd10798fbcc05a (patch)
tree5855ddb337ac613df0d912264ce02b5341c48aa8 /Ryujinx.Ava/UI/Controls/GameListView.axaml.cs
parent492056abf6c97696075f16101009aa463c319832 (diff)
ava: Fixes regressions from refactoring (#4237)1.1.524
* ava: Fix regressions from #4178 * Remove duplicated code * real fix for right click menu Co-Authored-By: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> * Remove ContentDialogOverlay Co-authored-by: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Diffstat (limited to 'Ryujinx.Ava/UI/Controls/GameListView.axaml.cs')
-rw-r--r--Ryujinx.Ava/UI/Controls/GameListView.axaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Ava/UI/Controls/GameListView.axaml.cs b/Ryujinx.Ava/UI/Controls/GameListView.axaml.cs
index 01e35990..bded1dec 100644
--- a/Ryujinx.Ava/UI/Controls/GameListView.axaml.cs
+++ b/Ryujinx.Ava/UI/Controls/GameListView.axaml.cs
@@ -38,9 +38,9 @@ namespace Ryujinx.Ava.UI.Controls
{
if (sender is ListBox listBox)
{
- var selected = listBox.SelectedItem as ApplicationData;
+ _selectedApplication = listBox.SelectedItem as ApplicationData;
- _selectedApplication = selected;
+ (DataContext as MainWindowViewModel).ListSelectedApplication = _selectedApplication;
}
}