mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user