1
0
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:
Laurent Lalanne 2014-10-29 20:59:05 +01:00
commit 94dd983363
3 changed files with 1552 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;