From 055a6c83ae3ad48a13d63a926b74e010872ae871 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Wed, 6 Jan 2021 23:59:14 -0600 Subject: [PATCH] Fix update flag setting --- OpenRGBE131ReceiverDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRGBE131ReceiverDialog.cpp b/OpenRGBE131ReceiverDialog.cpp index 75d2439..3e1a6c1 100644 --- a/OpenRGBE131ReceiverDialog.cpp +++ b/OpenRGBE131ReceiverDialog.cpp @@ -107,7 +107,7 @@ void OpenRGBE131ReceiverDialog::DeviceListChanged() remaining_leds = remaining_leds - new_member.num_leds; // Only set the update flag for the last universe of the controller - if(universe_idx == num_universes) + if(universe_idx == (num_universes - 1)) { new_member.update = true; }