Commit 5511f780 authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix timecode validation on settings dialog

parent 415b70f6
......@@ -119,7 +119,7 @@ KdenliveSettingsDialog::KdenliveSettingsDialog(QMap<QString, QString> mappable_a
m_configMisc.kcfg_use_exiftool->setEnabled(!QStandardPaths::findExecutable(QStringLiteral("exiftool")).isEmpty());
QRegExp rx(R"((\+|-)?\d{2}:\d{2}:\d{2}:\d{2})");
QRegExp rx(R"((\+|-)?\d{2}:\d{2}:\d{2}(:||,)\d{2})");
QValidator *validator = new QRegExpValidator(rx, this);
m_configMisc.kcfg_color_duration->setInputMask(pCore->timecode().mask());
m_configMisc.kcfg_color_duration->setValidator(validator);
......
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