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

OP-39 Small adjustment.

This commit is contained in:
Fredrik Arvidsson 2012-09-30 14:24:54 +02:00
parent 949569fdec
commit ede0c2ebf9

View File

@ -301,7 +301,10 @@ void ConfigInputWidget::goToWizard()
msgBox.setDefaultButton(QMessageBox::Ok);
msgBox.exec();
m_config->tabWidget->setCurrentIndex(0);
// Set correct tab visible before starting wizard.
if(m_config->tabWidget->currentIndex() != 0) {
m_config->tabWidget->setCurrentIndex(0);
}
wizardSetUpStep(wizardWelcome);
m_config->graphicsView->fitInView(m_txBackground, Qt::KeepAspectRatio );
}