mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-30 18:54:00 -04:00
Make spin box values be correct on startup
This commit is contained in:
@@ -166,6 +166,9 @@ OpenRGBDevicePage::OpenRGBDevicePage(RGBController *dev, QWidget *parent) :
|
||||
| Update mode user interface elements |
|
||||
\*-----------------------------------------------------*/
|
||||
UpdateModeUi();
|
||||
ui->RedSpinBox->setValue(ui->ColorWheelBox->color().red());
|
||||
ui->GreenSpinBox->setValue(ui->ColorWheelBox->color().green());
|
||||
ui->BlueSpinBox->setValue(ui->ColorWheelBox->color().blue());
|
||||
}
|
||||
|
||||
OpenRGBDevicePage::~OpenRGBDevicePage()
|
||||
|
||||
Reference in New Issue
Block a user