Skip to content
Snippets Groups Projects
Commit b66db75b authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

[m.0] following !2868 ()

Merging branch 'm.0'  into 'main'.

See merge request !2869
parents c6a23fe3 83ba09c5
No related branches found
No related tags found
1 merge request!2869following !2868
Pipeline #187910 passed
......@@ -135,15 +135,11 @@ void ProjectDocument::loadProjectFileWithData(const QString& projectPullPath)
if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
throw std::runtime_error("Cannot open project file " + projectFullPath().toStdString());
emit documentAboutToReopen();
readProject(&file);
file.close();
m_jobs->loadAllDatafields(GUI::Util::Project::projectDir(projectPullPath));
m_datafiles->readDatafiles(GUI::Util::Project::projectDir(projectPullPath));
emit documentOpened();
}
bool ProjectDocument::hasValidNameAndPath() const
......
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