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