m_frameHeight = render->renderHeight();
showToolbars(TITLE_SELECT);
+ //If project is drop frame, set the input mask as such.
+ title_duration->setInputMask(m_tc.inputMask());
+
//TODO: get default title duration instead of hardcoded one
title_duration->setText(m_tc.getTimecode(GenTime(5000 / 1000.0)));
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(KdenliveSettings::hastitleproducer());
refreshTitleTemplates();
- templateBox->setIconSize(QSize(60,60));
+ //templateBox->setIconSize(QSize(60,60));
templateBox->clear();
templateBox->addItem("");
foreach (TitleTemplate t, titletemplates)
{
if (lastDocumentHash!=QCryptographicHash::hash(xml().toString().toAscii(), QCryptographicHash::Md5).toHex())
{
- if (KMessageBox::questionYesNo(this, i18n("Title was changed !\nDo you realy want to load a new Template?\nAll changes in this Document are lost !!")) == KMessageBox::No) return;
+ if (KMessageBox::questionYesNo(this, i18n("Title was changed !\nDo you really want to load a new template?\nAll changes in this document are lost !!")) == KMessageBox::No) return;
}
loadTitle(item);
lastDocumentHash=QCryptographicHash::hash(xml().toString().toAscii(), QCryptographicHash::Md5).toHex();