Commit 41f5f535 authored by Daniel Teske's avatar Daniel Teske
Browse files

QmlProject: Fix restoring/opening of projects

Change-Id: I9e3327c360f76a920a55fc0e59ae19693a19f117
Task-number: QTCREATORBUG-15046
Reviewed-by: default avatarTobias Hunger <>
parent e6e18ceb
......@@ -346,7 +346,7 @@ QStringList QmlProject::files(FilesMode) const
Project::RestoreResult QmlProject::fromMap(const QVariantMap &map, QString *errorMessage)
RestoreResult result = Project::fromMap(map, errorMessage);
if (result == RestoreResult::Ok)
if (result != RestoreResult::Ok)
return result;
// refresh first - project information is used e.g. to decide the default RC's
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