mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-24 06:47:44 +02:00
Fixed a bug with the (undo last changes) button in the gamepad settings
This commit is contained in:
parent
0423fad7ff
commit
d1c15f3562
1 changed files with 8 additions and 6 deletions
|
@ -908,11 +908,13 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||||
|
|
||||||
public void LoadSavedConfiguration()
|
public void LoadSavedConfiguration()
|
||||||
{
|
{
|
||||||
LoadConfiguration();
|
if (IsModified) // Fixes random gamepad appearance in "disabled" option
|
||||||
LoadDevice();
|
{
|
||||||
LoadProfiles();
|
LoadDevice();
|
||||||
IsModified = false;
|
LoadConfiguration();
|
||||||
OnPropertyChanged();
|
IsModified = false;
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Save()
|
public void Save()
|
||||||
|
|
Loading…
Add table
Reference in a new issue