Trying to fix adding multiple files

This commit is contained in:
Chris Cochrun 2023-04-27 14:18:43 -05:00
parent e8b042df54
commit c1711f231b
3 changed files with 6 additions and 4 deletions

View file

@ -349,17 +349,14 @@ Item {
if (videoexts.includes(extension))
{
addVideo(file);
return;
}
if (imgexts.includes(extension))
{
addImg(file);
return
}
if (presexts.includes(extension))
{
addPres(file);
return
}
}
@ -375,12 +372,13 @@ Item {
}
if (imgexts.includes(ext))
{
console.log(file);
addImg(file);
console.log(file);
}
if (presexts.includes(ext))
{
addPres(file);
return;
}
}
}