1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-479 The ui->actuatorValue does not have limits (it is used as label only) so use ui->actuatorMax instead.

This commit is contained in:
Vladimir Zidar 2017-03-27 16:04:40 +02:00
parent 1ebfb701f6
commit 3a102d3a64

View File

@ -133,7 +133,7 @@ void OutputChannelForm::linkToggled(bool state)
if (!parent()) {
return;
}
int min = ui->actuatorValue->maximum();
int min = ui->actuatorMax->maximum();
int linked_count = 0;
QList<OutputChannelForm *> outputChannelForms = parent()->findChildren<OutputChannelForm *>();
// set the linked channels of the parent widget to the same value