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:
parent
949569fdec
commit
ede0c2ebf9
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user