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

Put space between next / skip, don't show skip for flight mode channel as

we must have one
This commit is contained in:
Fredrik Larsson 2014-11-22 11:04:20 +11:00
parent 9022e0546d
commit ab07169c7a

View File

@ -868,10 +868,9 @@ void ConfigInputWidget::setChannel(int newChan)
"Move the %1 stick.")).arg(manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan)));
}
if (manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan).contains("Accessory") ||
manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan).contains("FlightMode")) {
if (manualSettingsObj->getField("ChannelGroups")->getElementNames().at(newChan).contains("Accessory")) {
ui->wzNext->setEnabled(true);
ui->wzNext->setText(tr("Next/Skip"));
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);