Trying to fix adding multiple files
This commit is contained in:
parent
e8b042df54
commit
c1711f231b
3 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue