fix fan box initial values

This commit is contained in:
Scott Wilde
2021-05-23 20:48:18 -05:00
committed by Adam Honse
parent 7266e4131a
commit a6915868d2

View File

@@ -54,6 +54,11 @@ OpenRGBFanPage::OpenRGBFanPage(FanController *dev, QWidget *parent) :
ui->SpeedSlider->setValue(device->fans[i].speed_cmd);
ui->RPMValue->setText(QString::number(device->fans[i].rpm_rdg));
}
/*-----------------------------------------------------*\
| Set to current values |
\*-----------------------------------------------------*/
on_FanBox_currentIndexChanged(0);
}
OpenRGBFanPage::~OpenRGBFanPage()