mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
UI - Made module tabs uppercase since that's what we do
Modules - Finished module ordering
This commit is contained in:
1 parent
bfb122e95a
commit
babd862b40
20 files changed
+272
-208
No files matched your search
@@ -53,7 +53,7 @@ namespace Artemis.UI.Screens.ProfileEditor
|
||||
_moduleService = moduleService;
|
||||
_snackbarMessageQueue = snackbarMessageQueue;
|
||||
|
||||
DisplayName = "Profile editor";
|
||||
DisplayName = "PROFILE EDITOR";
|
||||
Module = module;
|
||||
DialogService = dialogService;
|
||||
|
||||
@@ -239,6 +239,10 @@ namespace Artemis.UI.Screens.ProfileEditor
|
||||
Module.ActiveProfileChanged += ModuleOnActiveProfileChanged;
|
||||
LoadProfiles();
|
||||
|
||||
// If the module already has an active profile use that, the override won't trigger a profile change
|
||||
if (Module.ActiveProfile != null)
|
||||
SelectedProfile = Profiles.FirstOrDefault(d => d.Id == Module.ActiveProfile.EntityId);
|
||||
|
||||
Task.Run(async () => { await _moduleService.SetActiveModuleOverride(Module); });
|
||||
base.OnActivate();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user