Commit 8224a907 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Set newly created runconfiguration active in QML project

parent be161190
......@@ -291,11 +291,13 @@ QStringList QmlProject::files(FilesMode) const
bool QmlProject::fromMap(const QVariantMap &map)
{
Project::fromMap(map);
if (!Project::fromMap(map))
return false;
if (runConfigurations().isEmpty()) {
QmlRunConfiguration *runConf = new QmlRunConfiguration(this);
addRunConfiguration(runConf);
setActiveRunConfiguration(runConf);
}
refresh(Everything);
......
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