[ui] Viewer3D: load all urls from an external file drop

This commit is contained in:
Yann Lanthony 2018-11-23 22:27:19 +01:00
parent 97fcdf67bf
commit e9682a8ce9

View file

@ -127,7 +127,9 @@ Item {
DropArea {
anchors.fill: parent
keys: ["text/uri-list"]
onDropped: load3DMedia(drop.urls[0])
onDropped: {
drop.urls.forEach(function(url){ load3DMedia(url); });
}
}
}