Data bindings - Added binding apply logic to the layer properties

Data bindings - Expanded to support inner layer properties
This commit is contained in:
Robert committed 2020-09-02 16:54:30 +02:00
1 parent 99522f052f
commit 1a8df1647b
12 files changed
+191 -29

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using RGB.NET.Core;
using RGB.NET.Groups;
using Serilog;
@@ -57,7 +58,7 @@ namespace Artemis.Core.Services
throw e;
}
if (deviceProvider.Devices == null)
if (deviceProvider.Devices == null || !deviceProvider.Devices.Any())
{
_logger.Warning("Device provider {deviceProvider} has no devices", deviceProvider.GetType().Name);
return;