mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 21:16:29 +02:00
[ui] specify keys for DropAreas
This commit is contained in:
parent
1e462d94de
commit
014c1fe25f
3 changed files with 5 additions and 1 deletions
|
@ -100,6 +100,7 @@ Item {
|
|||
|
||||
DropArea {
|
||||
anchors.fill: parent
|
||||
keys: ["text/uri-list"]
|
||||
onDropped: {
|
||||
viewer2D.source = drop.urls[0]
|
||||
viewer2D.metadata = {}
|
||||
|
@ -124,6 +125,7 @@ Item {
|
|||
anchors.fill: parent
|
||||
DropArea {
|
||||
anchors.fill: parent
|
||||
keys: ["text/uri-list"]
|
||||
onDropped: load3DMedia(drop.urls[0])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue