Skip to content
Snippets Groups Projects
Commit 6949453c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlProjectManager: crash fix

parent 5a7858f5
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,8 @@ bool QmlProject::fromMap(const QVariantMap &map)
refresh(Everything);
// FIXME workaround to guarantee that run/debug actions are enabled if a valid file exists
QmlProjectRunConfiguration *runConfig = static_cast<QmlProjectRunConfiguration*>(activeTarget()->activeRunConfiguration());
runConfig->changeCurrentFile(0);
if (runConfig)
runConfig->changeCurrentFile(0);
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment