mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-08-20 16:57:44 +00:00
Don't persist changes when editing the Default profile
This commit is contained in:
parent
21d6482c49
commit
94ab569cf6
1 changed files with 7 additions and 0 deletions
|
|
@ -2123,6 +2123,13 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
return; //If the input settings were not touched, then do nothing
|
||||
}
|
||||
|
||||
// Don't persist changes when editing the Default profile
|
||||
if (IsDefaultProfileName(ProfileName))
|
||||
{
|
||||
IsModified = false;
|
||||
return;
|
||||
}
|
||||
|
||||
IsModified = false;
|
||||
|
||||
List<InputConfig> newConfig = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue