Merge pull request #621 from opentx/bsongis/Issue554_trims_relative_default
All good!
This commit is contained in:
@@ -684,19 +684,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"));
|
||||
|
||||
Reference in New Issue
Block a user