Merge pull request #687 from opentx/andreas/Issue020_ThrWarnPotsAndTransmitterFix_Merged

merged changes from Issue020_ThrottleWarning
This commit is contained in:
Bertrand Songis
2014-02-21 14:15:37 +01:00
4 changed files with 172 additions and 48 deletions
+2 -2
View File
@@ -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();
}
@@ -549,7 +549,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);