misc: [ci skip] Missed the property part of _chosenProfile

This commit is contained in:
GreemDev 2025-06-09 17:59:40 -05:00
parent ce31a47934
commit 9d83dfd19c
2 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
public event Action NotifyChangesEvent; public event Action NotifyChangesEvent;
public string ProfileChoose public string ChosenProfile
{ {
get => _chosenProfile; get => _chosenProfile;
set set
@ -903,7 +903,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
LoadProfiles(); LoadProfiles();
ProfileChoose = ProfileName; // Show new profile ChosenProfile = ProfileName; // Show new profile
} }
else else
{ {
@ -937,7 +937,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
LoadProfiles(); LoadProfiles();
ProfileChoose = ProfilesList[0].ToString(); // Show default profile ChosenProfile = ProfilesList[0].ToString(); // Show default profile
} }
} }

View file

@ -100,7 +100,7 @@
Name="ProfileBox" Name="ProfileBox"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
VerticalAlignment="Center" VerticalAlignment="Center"
SelectedItem="{Binding ProfileChoose, Mode=TwoWay}" SelectedItem="{Binding ChosenProfile, Mode=TwoWay}"
SelectionChanged="ComboBox_SelectionChanged" SelectionChanged="ComboBox_SelectionChanged"
ItemsSource="{Binding ProfilesList}" ItemsSource="{Binding ProfilesList}"
Text="{Binding ProfileName, Mode=TwoWay}" /> Text="{Binding ProfileName, Mode=TwoWay}" />