Correctly update title templates list on each opening of title widget

parent 5f7355d5
......@@ -570,9 +570,8 @@ TitleWidget::TitleWidget(const QUrl &url, const Timecode &tc, QString projectTit
connect(cancelButton, &QPushButton::clicked, [this]() {
done(QDialog::Rejected);
});
if (titletemplates.isEmpty()) {
refreshTitleTemplates(m_projectTitlePath);
}
refreshTitleTemplates(m_projectTitlePath);
// templateBox->setIconSize(QSize(60,60));
refreshTemplateBoxContents();
m_lastDocumentHash = QCryptographicHash::hash(xml().toString().toLatin1(), QCryptographicHash::Md5).toHex();
......
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