Commit 7faa3e7e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Project: Watch for ILoadSave::load errors

parent e67d26f2
......@@ -171,7 +171,11 @@ Project::loadProject( const QString &fileName )
}
foreach (ILoadSave* listener, m_loadSave)
listener->load( doc );
if ( listener->load( doc ) == false )
{
vlmcCritical() << "Failed to load project";
return false;
}
m_projectFile->close();
return 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