mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-11 09:28:05 -04:00
move call of SetupZone from class constuctor to load function
This commit is contained in:
@@ -57,6 +57,7 @@ void DetectDasKeyboardControllers(hid_device_info *info_in, const std::string &n
|
||||
else
|
||||
{
|
||||
RGBController_DasKeyboard *rgb_controller = new RGBController_DasKeyboard(controller);
|
||||
rgb_controller->SetupZones();
|
||||
rgb_controller->name = name;
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
|
||||
Reference in New Issue
Block a user