Workshop - Fix default sorting being blank

Sidebar - Allow right-clicking a profile to open the menu without opening the profile
Profile editor - Fix editor not stopping to focus the profile
This commit is contained in:
Robert committed 2025-12-13 16:19:16 +01:00
1 parent 0eb2c3a3b2
commit 8e4a430e19
5 files changed
+13 -6

No files matched your search

@@ -183,12 +183,11 @@ internal class ProfileEditorService : IProfileEditorService
// Activate the profile and it's mode off of the UI thread
await Task.Run(() =>
{
_profileService.FocusProfile = profileConfiguration;
// 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);