Commit dc62e340 authored by Eike Ziller's avatar Eike Ziller

Fix text on Project Management wizard page

Broke with a23b3498

Task-number: QTCREATORBUG-11527
Change-Id: I523456ea805aa476552a9686ac620b8f204a732a
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 52e166c5
......@@ -462,7 +462,7 @@ static inline void getProjectChoicesAndToolTips(QStringList *projectChoicesParam
ProjectExplorer::ProjectAction projectAction;
if (context->wizard->kind()== IWizard::ProjectWizard) {
const QString projectFilePath = generatedProjectFilePath(generatedFiles);
projectAction = ProjectExplorer::AddNewFile;
projectAction = ProjectExplorer::AddSubProject;
foreach (ProjectNode *pn, AddNewProjectNodesVisitor::projectNodes(projectFilePath))
entryMap.insert(FolderEntry(pn, QStringList() << projectFilePath), true);
......@@ -471,7 +471,7 @@ static inline void getProjectChoicesAndToolTips(QStringList *projectChoicesParam
foreach (const GeneratedFile &gf, generatedFiles)
filePaths << gf.path();
projectAction = ProjectExplorer::AddSubProject;
projectAction = ProjectExplorer::AddNewFile;
foreach (FolderNode *fn, AddNewFileNodesVisitor::allFolders())
entryMap.insert(FolderEntry(fn, filePaths), true);
}
......
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