Commit a712509b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Activate simulator

 ... as default whenever that is selected
parent 69100c35
......@@ -245,8 +245,11 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
if (!targetInfos.isEmpty())
target = project->targetFactory()->create(project, targetId, targetInfos);
if (target)
if (target) {
if (target->id() == QLatin1String(Constants::QT_SIMULATOR_TARGET_ID))
// Create the default target if nothing else was set up:
Supports Markdown
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