Commit e28a9f2f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix profile corruption

Fixes #1273 #1274
parent 256ea411
Pipeline #110356 failed with stage
in 5 minutes and 17 seconds
......@@ -464,6 +464,7 @@ bool Core::setCurrentProfile(const QString &profilePath)
m_projectProfile->set_sample_aspect(getCurrentProfile()->sample_aspect_num(), getCurrentProfile()->sample_aspect_den());
m_projectProfile->set_display_aspect(getCurrentProfile()->display_aspect_num(), getCurrentProfile()->display_aspect_den());
m_projectProfile->set_width(getCurrentProfile()->width());
m_projectProfile->get_profile()->description = qstrdup(profilePath.toUtf8().constData());
m_projectProfile->set_explicit(true);
updateMonitorProfile();
}
......
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