Backport crash on image sequence import

parent e27d5801
...@@ -567,7 +567,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QStringList ...@@ -567,7 +567,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QStringList
delete fileWidget; delete fileWidget;
delete dlg; delete dlg;
// get image sequence base name // get image sequence base name
while (fileName.at(fileName.size() - 1).isDigit()) { while (fileName.size() > 0 && fileName.at(fileName.size() - 1).isDigit()) {
fileName.chop(1); fileName.chop(1);
} }
QDomDocument xml; QDomDocument xml;
......
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