Ensure timeline ruler is correctly updated on profile switch.

Related to #819
parent f8cd54b2
Pipeline #38428 passed with stage
in 35 minutes and 27 seconds
...@@ -344,6 +344,7 @@ bool Core::setCurrentProfile(const QString &profilePath) ...@@ -344,6 +344,7 @@ bool Core::setCurrentProfile(const QString &profilePath)
if (m_guiConstructed && m_mainWindow->getCurrentTimeline()->controller()->getModel()) { if (m_guiConstructed && m_mainWindow->getCurrentTimeline()->controller()->getModel()) {
m_mainWindow->getCurrentTimeline()->controller()->getModel()->updateProfile(getProjectProfile()); m_mainWindow->getCurrentTimeline()->controller()->getModel()->updateProfile(getProjectProfile());
checkProfileValidity(); checkProfileValidity();
emit m_mainWindow->getCurrentTimeline()->controller()->frameFormatChanged();
} }
return true; 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