From 9d83dfd19cd838042abb833891da6aa9dee8b2bc Mon Sep 17 00:00:00 2001 From: GreemDev Date: Mon, 9 Jun 2025 17:59:40 -0500 Subject: [PATCH] misc: [ci skip] Missed the property part of _chosenProfile --- src/Ryujinx/UI/ViewModels/Input/InputViewModel.cs | 6 +++--- src/Ryujinx/UI/Views/Input/InputView.axaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Ryujinx/UI/ViewModels/Input/InputViewModel.cs b/src/Ryujinx/UI/ViewModels/Input/InputViewModel.cs index aa8333d68..81aae6b74 100644 --- a/src/Ryujinx/UI/ViewModels/Input/InputViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/Input/InputViewModel.cs @@ -101,7 +101,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input public event Action NotifyChangesEvent; - public string ProfileChoose + public string ChosenProfile { get => _chosenProfile; set @@ -903,7 +903,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input LoadProfiles(); - ProfileChoose = ProfileName; // Show new profile + ChosenProfile = ProfileName; // Show new profile } else { @@ -937,7 +937,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input LoadProfiles(); - ProfileChoose = ProfilesList[0].ToString(); // Show default profile + ChosenProfile = ProfilesList[0].ToString(); // Show default profile } } diff --git a/src/Ryujinx/UI/Views/Input/InputView.axaml b/src/Ryujinx/UI/Views/Input/InputView.axaml index dea508f10..c4f61e78e 100644 --- a/src/Ryujinx/UI/Views/Input/InputView.axaml +++ b/src/Ryujinx/UI/Views/Input/InputView.axaml @@ -100,7 +100,7 @@ Name="ProfileBox" HorizontalAlignment="Stretch" VerticalAlignment="Center" - SelectedItem="{Binding ProfileChoose, Mode=TwoWay}" + SelectedItem="{Binding ChosenProfile, Mode=TwoWay}" SelectionChanged="ComboBox_SelectionChanged" ItemsSource="{Binding ProfilesList}" Text="{Binding ProfileName, Mode=TwoWay}" />