added #83
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user