Profile editor - Fix race condition causing the editor to fail to activate on suspended profiles

Surface editor - Implemented left-handed preset
This commit is contained in:
Robert committed 2025-12-11 22:55:31 +01:00
1 parent 108cbaae3d
commit 06c5294e88
12 files changed
+99 -51

No files matched your search

@@ -185,12 +185,15 @@ internal class ProfileEditorService : IProfileEditorService
{
// Activate the profile if one was provided
if (profileConfiguration != null)
{
_profileService.FocusProfile = profileConfiguration;
_profileService.ActivateProfile(profileConfiguration);
}
// If there is no profile configuration or module, deliberately set the override to null
_moduleService.SetActivationOverride(profileConfiguration?.Module);
});
_profileService.FocusProfile = profileConfiguration;
_profileConfigurationSubject.OnNext(profileConfiguration);
ChangeTime(TimeSpan.Zero);