mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 09:47:20 +02:00
[ui] Fix injections into signal handlers with JS functions
This commit is contained in:
parent
b29bcfe0c5
commit
e214868d81
2 changed files with 2 additions and 2 deletions
|
@ -1281,7 +1281,7 @@ Page {
|
|||
_reconstruction.forceNodesStatusUpdate();
|
||||
computeManager.submit(nodes)
|
||||
}
|
||||
onFilesDropped: {
|
||||
onFilesDropped: function(drop, mousePosition) {
|
||||
var filesByType = _reconstruction.getFilesByTypeFromDrop(drop.urls)
|
||||
if (filesByType["meshroomScenes"].length == 1) {
|
||||
ensureSaved(function() {
|
||||
|
|
|
@ -987,7 +987,7 @@ Item {
|
|||
id: dropArea
|
||||
anchors.fill: parent
|
||||
keys: ["text/uri-list"]
|
||||
onEntered: {
|
||||
onEntered: function(drag) {
|
||||
nbMeshroomScenes = 0
|
||||
nbDraggedFiles = drag.urls.length
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue