Commit 45a8b683 authored by Nicolas Carion's avatar Nicolas Carion
Browse files

fix import image sequence

parent da98113f
...@@ -552,7 +552,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QStringList ...@@ -552,7 +552,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QStringList
if (!list.isEmpty()) { if (!list.isEmpty()) {
KRecentDirs::add(QStringLiteral(":KdenliveClipFolder"), list.constFirst().adjusted(QUrl::RemoveFilename).toLocalFile()); KRecentDirs::add(QStringLiteral(":KdenliveClipFolder"), list.constFirst().adjusted(QUrl::RemoveFilename).toLocalFile());
} }
if (b->isChecked() && list.count() == 1) { if (b->isChecked() && list.count() >= 1) {
// Check for image sequence // Check for image sequence
QUrl url = list.at(0); QUrl url = list.at(0);
QString fileName = url.fileName().section(QLatin1Char('.'), 0, -2); QString fileName = url.fileName().section(QLatin1Char('.'), 0, -2);
......
Supports Markdown
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