mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-19 09:37:14 +02:00
[ui] fix drag and drop external images on Viewer2D
This commit is contained in:
parent
b91d0b372e
commit
88e822a9de
2 changed files with 29 additions and 6 deletions
|
@ -152,8 +152,7 @@ Item {
|
|||
anchors.fill: parent
|
||||
keys: ["text/uri-list"]
|
||||
onDropped: {
|
||||
viewer2D.source = drop.urls[0]
|
||||
viewer2D.metadata = {}
|
||||
viewer2D.loadExternal(drop.urls[0]);
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue