Implemented profile creation, deletion and activation

This commit is contained in:
Robert committed 2019-11-20 17:30:18 +01:00
1 parent 2fb2e5444c
commit 57a2be778d
17 files changed
+217 -49

No files matched your search

@@ -91,11 +91,14 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.Visualization
private void UpdateLeds(object sender, CustomUpdateData customUpdateData)
{
if (IsInitializing)
lock (Devices)
{
if (IsInitializing)
IsInitializing = Devices.Any(d => !d.AddedLeds);
foreach (var profileDeviceViewModel in Devices)
profileDeviceViewModel.Update();
foreach (var profileDeviceViewModel in Devices)
profileDeviceViewModel.Update();
}
}
protected override void OnActivate()