mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 07:15:12 +03:00
[Taranis] Issue #554 - Companion part done
This commit is contained in:
parent
cde59a2b22
commit
80a6c4727d
8 changed files with 139 additions and 93 deletions
|
@ -682,19 +682,6 @@ void CurveGroup::valuesChanged()
|
|||
}
|
||||
}
|
||||
|
||||
void populateTrimUseCB(QComboBox *b, unsigned int phase)
|
||||
{
|
||||
b->addItem(QObject::tr("Own trim"));
|
||||
unsigned int num_phases = GetEepromInterface()->getCapability(FlightPhases);
|
||||
if (num_phases>0) {
|
||||
for (unsigned int i = 0; i < num_phases; i++) {
|
||||
if (i != phase) {
|
||||
b->addItem(QObject::tr("Flight mode %1 trim").arg(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void populateGvarUseCB(QComboBox *b, unsigned int phase)
|
||||
{
|
||||
b->addItem(QObject::tr("Own value"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue