}
}
- else if ( aPage == dirPage ) {
+ else if ( aPage == platformsPage ) {
// installation platform page
+ if ( platBtnGrp->id( platBtnGrp->selected() ) == -1 ) {
+ QMessageBox::warning( this,
+ tr( "Warning" ),
+ tr( "Select installation platform before" ),
+ QMessageBox::Ok,
+ QMessageBox::NoButton,
+ QMessageBox::NoButton );
+ return false;
+ }
+ }
+
+ else if ( aPage == dirPage ) {
+ // installation directory page
// ########## check target and temp directories (existence and available disk space)
// get dirs
QString targetDir = QDir::cleanDirPath( targetFolder->text().stripWhiteSpace() );