1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 17:55:19 +03:00

Added status information for wixard mix data.

This commit is contained in:
Kjell Kernen 2014-03-03 23:12:57 +01:00
parent 0a867bcc22
commit 898496a85d
5 changed files with 26 additions and 8 deletions

View file

@ -213,11 +213,11 @@ bool ModelSelectionPage::validatePage()
{
wizDlg->mix.name = nameLineEdit->text();
if (multirotorRB->isChecked())
wizDlg->mix.vehicleType = MULTICOPTER;
wizDlg->mix.vehicle = MULTICOPTER;
else if (helicopterRB->isChecked())
wizDlg->mix.vehicleType = HELICOPTER;
wizDlg->mix.vehicle = HELICOPTER;
else
wizDlg->mix.vehicleType = PLANE;
wizDlg->mix.vehicle = PLANE;
return true;
}
@ -723,4 +723,9 @@ void ConclusionPage::initializePage(){
textLabel->setText(wizDlg->mix.toString());
}
bool ConclusionPage::validatePage() {
wizDlg->mix.complete = true;
return true;
}