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

Ensure subtitle track is shown whenever a subtitle item is added.

Fixes #1026
parent 62af9950
......@@ -4329,8 +4329,8 @@ void MainWindow::slotEditSubtitle(QMap<QString, QString> subProperties)
void MainWindow::slotAddSubtitle()
{
if (pCore->getSubtitleModel() == nullptr || !KdenliveSettings::showSubtitles()) {
slotEditSubtitle();
m_buttonSubtitleEditTool->setChecked(true);
slotEditSubtitle();
}
getCurrentTimeline()->controller()->addSubtitle();
}
......
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