Added missing null-check while rendering groups

This commit is contained in:
DarthAffe committed 2017-01-28 12:18:57 +01:00
1 parent a3c1f5a684
commit 2678d3f56d
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ namespace RGB.NET.Core
IList<Led> leds = ledGroup.GetLeds().ToList();
IBrush brush = ledGroup.Brush;
if (!brush.IsEnabled) return;
if ((brush == null) || !brush.IsEnabled) return;
try
{