1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-1582 Set text to Next/Skip for Flightmode and Aux channels

This commit is contained in:
m_thread 2014-10-29 01:28:46 +01:00
parent cc1785d6a2
commit bf9d14a8a7

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