From 0765dbe6943626726591097b052a24b094278a64 Mon Sep 17 00:00:00 2001 From: Tamara Hogenhout Date: Fri, 18 Sep 2015 13:49:49 +0200 Subject: [PATCH] adds the sendmeshname functionality to the DropArea fixes: issue CURA-179 --- resources/qml/Cura.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index ecd8cadcce..c7d8d41d2a 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -292,6 +292,10 @@ UM.MainWindow for(var i in drop.urls) { UM.MeshFileHandler.readLocalFile(drop.urls[i]); + if (i == drop.urls.length - 1) + { + openDialog.sendMeshName(drop.urls[i].toString()) + } } } }