mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 20:10:08 +03:00
The "No DR/Expo" was (after conversion from 215) showing in mixes for Taranis. Taranis does not have this setting.
This commit is contained in:
parent
266c3ced04
commit
d641147ef0
4 changed files with 4 additions and 3 deletions
|
@ -1102,6 +1102,7 @@ enum Capability {
|
||||||
ModelTrainerEnable,
|
ModelTrainerEnable,
|
||||||
Timer2ThrTrig,
|
Timer2ThrTrig,
|
||||||
HasExpoNames,
|
HasExpoNames,
|
||||||
|
HasNoExpo,
|
||||||
HasMixerNames,
|
HasMixerNames,
|
||||||
HasChNames,
|
HasChNames,
|
||||||
HasCvNames,
|
HasCvNames,
|
||||||
|
|
|
@ -30,7 +30,7 @@ MixerDialog::MixerDialog(QWidget *parent, ModelData & model, MixData *mixdata, G
|
||||||
|
|
||||||
ui->MixDR_CB->setChecked(md->noExpo==0);
|
ui->MixDR_CB->setChecked(md->noExpo==0);
|
||||||
|
|
||||||
if (firmware->getCapability(VirtualInputs) || !firmware->getCapability(MixesWithoutExpo)) {
|
if (!firmware->getCapability(HasNoExpo)) {
|
||||||
ui->MixDR_CB->hide();
|
ui->MixDR_CB->hide();
|
||||||
ui->label_MixDR->hide();
|
ui->label_MixDR->hide();
|
||||||
}
|
}
|
||||||
|
|
|
@ -195,7 +195,7 @@ QString MixesPanel::getMixerText(int dest, bool * new_ch)
|
||||||
str += " " + Qt::escape(tr("NoTrim"));
|
str += " " + Qt::escape(tr("NoTrim"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (md->noExpo) str += " " + Qt::escape(tr("No DR/Expo"));
|
if (firmware->getCapability(HasNoExpo) && md->noExpo) str += " " + Qt::escape(tr("No DR/Expo"));
|
||||||
if (md->sOffset) str += " " + Qt::escape(tr("Offset(%1)").arg(getGVarString(md->sOffset)));
|
if (md->sOffset) str += " " + Qt::escape(tr("Offset(%1)").arg(getGVarString(md->sOffset)));
|
||||||
if (md->curve.value) str += " " + Qt::escape(md->curve.toString());
|
if (md->curve.value) str += " " + Qt::escape(md->curve.toString());
|
||||||
|
|
||||||
|
|
|
@ -351,7 +351,7 @@ void PrintDialog::printMixes()
|
||||||
str += " " + Qt::escape(tr("NoTrim"));
|
str += " " + Qt::escape(tr("NoTrim"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (md->noExpo) str += " " + Qt::escape(tr("No DR/Expo"));
|
if (firmware->getCapability(HasNoExpo) && md->noExpo) str += " " + Qt::escape(tr("No DR/Expo"));
|
||||||
if (md->sOffset) str += " " + Qt::escape(tr("Offset(%1)").arg(getGVarString(md->sOffset)));
|
if (md->sOffset) str += " " + Qt::escape(tr("Offset(%1)").arg(getGVarString(md->sOffset)));
|
||||||
if (md->curve.value) str += " " + Qt::escape(md->curve.toString());
|
if (md->curve.value) str += " " + Qt::escape(md->curve.toString());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue