1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +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.setDefaultButton(QMessageBox::Ok);
msgBox.exec(); 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); wizardSetUpStep(wizardWelcome);
m_config->graphicsView->fitInView(m_txBackground, Qt::KeepAspectRatio ); m_config->graphicsView->fitInView(m_txBackground, Qt::KeepAspectRatio );
} }