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:
parent
1ebfb701f6
commit
3a102d3a64
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user