mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Merge branch 'rel-14.10' into laurent/OP-1556_Wizard_polishing
This commit is contained in:
commit
94dd983363
File diff suppressed because one or more lines are too long
@ -591,6 +591,7 @@ void ConfigInputWidget::wzBack()
|
||||
void ConfigInputWidget::wizardSetUpStep(enum wizardSteps step)
|
||||
{
|
||||
ui->wzText2->clear();
|
||||
ui->wzNext->setText(tr("Next"));
|
||||
|
||||
switch (step) {
|
||||
case wizardWelcome:
|
||||
@ -863,13 +864,13 @@ void ConfigInputWidget::setChannel(int newChan)
|
||||
if (manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan).contains("Accessory") ||
|
||||
manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan).contains("FlightMode")) {
|
||||
ui->wzNext->setEnabled(true);
|
||||
ui->wzNext->setText(tr("Next/Skip"));
|
||||
ui->wzText->setText(ui->wzText->text() + tr(" Alternatively, click Next to skip this channel."));
|
||||
} else {
|
||||
ui->wzNext->setEnabled(false);
|
||||
}
|
||||
|
||||
setMoveFromCommand(newChan);
|
||||
|
||||
currentChannelNum = newChan;
|
||||
channelDetected = false;
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ int SetupWizard::nextId() const
|
||||
}
|
||||
|
||||
case PAGE_BIAS_CALIBRATION:
|
||||
if (getVehicleType() == VEHICLE_MULTI && getEscType() == ESC_RAPID) {
|
||||
if (getVehicleType() == VEHICLE_MULTI) {
|
||||
return PAGE_ESC_CALIBRATION;
|
||||
} else {
|
||||
return PAGE_OUTPUT_CALIBRATION;
|
||||
|
Loading…
Reference in New Issue
Block a user