Minor fixes - populate Mode box correctly on initialization and reorder operations for setting Aura mode to improve reliability
This commit is contained in:
parent
4714aec6dd
commit
7ba607be8a
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ BOOL OpenAuraSDKDialog::OnInitDialog()
|
|||
mode_box->AddString(controllers[0]->modes[i].name.c_str());
|
||||
}
|
||||
|
||||
mode_box->SetCurSel(0);
|
||||
mode_box->SetCurSel(controllers[0]->GetMode());
|
||||
|
||||
for (int i = 0; i < controllers[0]->zones.size(); i++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ void RGBController_Aura::SetMode(int mode)
|
|||
}
|
||||
else
|
||||
{
|
||||
aura->SetDirect(false);
|
||||
aura->SetMode(mode - 1);
|
||||
aura->SetDirect(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue