mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +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();
|
_reconstruction.forceNodesStatusUpdate();
|
||||||
computeManager.submit(nodes)
|
computeManager.submit(nodes)
|
||||||
}
|
}
|
||||||
onFilesDropped: {
|
onFilesDropped: function(drop, mousePosition) {
|
||||||
var filesByType = _reconstruction.getFilesByTypeFromDrop(drop.urls)
|
var filesByType = _reconstruction.getFilesByTypeFromDrop(drop.urls)
|
||||||
if (filesByType["meshroomScenes"].length == 1) {
|
if (filesByType["meshroomScenes"].length == 1) {
|
||||||
ensureSaved(function() {
|
ensureSaved(function() {
|
||||||
|
|
|
@ -987,7 +987,7 @@ Item {
|
||||||
id: dropArea
|
id: dropArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
keys: ["text/uri-list"]
|
keys: ["text/uri-list"]
|
||||||
onEntered: {
|
onEntered: function(drag) {
|
||||||
nbMeshroomScenes = 0
|
nbMeshroomScenes = 0
|
||||||
nbDraggedFiles = drag.urls.length
|
nbDraggedFiles = drag.urls.length
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue