mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Device properties - Repopulate LED tab each time it opens
Core - Save device before reloading provider for layout reset
This commit is contained in:
1 parent
10c80fb9c2
commit
6e197d725a
2 files changed
+8
-6
No files matched your search
@@ -386,6 +386,10 @@ namespace Artemis.Core.Services
|
||||
|
||||
private void ReloadDevice(ArtemisDevice device)
|
||||
{
|
||||
// Any pending changes are otherwise lost including DisableDefaultLayout
|
||||
device.ApplyToEntity();
|
||||
_deviceRepository.Save(device.DeviceEntity);
|
||||
|
||||
DeviceProvider deviceProvider = device.DeviceProvider;
|
||||
|
||||
// Feels bad but need to in order to get the initial LEDs back
|
||||
|
||||
Reference in new issue
Block a user