This commit is contained in:
itsmattkc
2018-07-13 20:43:17 +01:00
parent 67944b4c2d
commit fdc9506eb3
4 changed files with 30 additions and 11 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ void Project::process_file_list(QStringList& files) {
// heuristic to determine whether file is part of an image sequence
int lastcharindex = file.lastIndexOf(".")-1;
if (lastcharindex == -2) {
if (lastcharindex == -2 || lastcharindex <= file.lastIndexOf('/')) {
lastcharindex = file.length() - 1;
}
if (file[lastcharindex].isDigit()) {