Commit 554238d6 authored by dt's avatar dt Committed by con
Browse files

Qt Quick App Wizard: Reset main file

Reviewed-By: Alessandro Portale
Task-Nr: QTCREATORBUG-3566
parent a5b5e06f
......@@ -142,8 +142,7 @@ void QmlStandaloneAppWizard::prepareGenerateFiles(const QWizard *w,
Q_UNUSED(errorMessage)
const QmlStandaloneAppWizardDialog *wizard = qobject_cast<const QmlStandaloneAppWizardDialog*>(w);
const QString mainQmlFile = wizard->m_qmlSourcesPage->mainQmlFile();
if (!mainQmlFile.isEmpty())
m_d->standaloneApp->setMainQmlFile(mainQmlFile);
m_d->standaloneApp->setMainQmlFile(mainQmlFile);
}
bool QmlStandaloneAppWizard::postGenerateFilesInternal(const Core::GeneratedFiles &l,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment