bugfix: Throttle warning shown wrong in companion
Actually Throttle warning was not ticked by default in companion, and if ticked, it was disabled, and when not ticked it was enabled. Now it fits to the real firmware settings.
This commit is contained in:
@@ -476,7 +476,7 @@ void Setup::on_extendedLimits_toggled(bool checked)
|
||||
|
||||
void Setup::on_throttleWarning_toggled(bool checked)
|
||||
{
|
||||
model.disableThrottleWarning = checked;
|
||||
model.disableThrottleWarning = !checked;
|
||||
emit modified();
|
||||
}
|
||||
|
||||
@@ -550,7 +550,7 @@ void Setup::update()
|
||||
|
||||
ui->throttleReverse->setChecked(model.throttleReversed);
|
||||
populateTTraceCB(ui->throttleSource, model.thrTraceSrc);
|
||||
ui->throttleWarning->setChecked(model.disableThrottleWarning);
|
||||
ui->throttleWarning->setChecked(!model.disableThrottleWarning);
|
||||
|
||||
//trim inc, thro trim, thro expo, instatrim
|
||||
ui->trimIncrement->setCurrentIndex(model.trimInc+2);
|
||||
|
||||
Reference in New Issue
Block a user