Don't persist changes when editing the Default profile

This commit is contained in:
Babib3l 2026-06-29 23:48:44 +02:00 committed by Gabriel
parent 21d6482c49
commit 94ab569cf6

View file

@ -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 = [];