mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
Added missing null-check while rendering groups
This commit is contained in:
parent
a3c1f5a684
commit
2678d3f56d
@ -93,7 +93,7 @@ namespace RGB.NET.Core
|
|||||||
IList<Led> leds = ledGroup.GetLeds().ToList();
|
IList<Led> leds = ledGroup.GetLeds().ToList();
|
||||||
IBrush brush = ledGroup.Brush;
|
IBrush brush = ledGroup.Brush;
|
||||||
|
|
||||||
if (!brush.IsEnabled) return;
|
if ((brush == null) || !brush.IsEnabled) return;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user