From 3a102d3a645d2e4a567e102294fd69822d8d3b0e Mon Sep 17 00:00:00 2001 From: Vladimir Zidar Date: Mon, 27 Mar 2017 16:04:40 +0200 Subject: [PATCH] LP-479 The ui->actuatorValue does not have limits (it is used as label only) so use ui->actuatorMax instead. --- ground/gcs/src/plugins/config/outputchannelform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/gcs/src/plugins/config/outputchannelform.cpp b/ground/gcs/src/plugins/config/outputchannelform.cpp index 973ff94c4..85e697f31 100644 --- a/ground/gcs/src/plugins/config/outputchannelform.cpp +++ b/ground/gcs/src/plugins/config/outputchannelform.cpp @@ -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 outputChannelForms = parent()->findChildren(); // set the linked channels of the parent widget to the same value