Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2018-01-19 14:51:09 +0300
committerLipu Fei <lipu.fei815@gmail.com>2018-01-19 14:51:09 +0300
commite0c69eb67511b6f675906e38c66e7eca2ac7bb47 (patch)
treeb487e4f9ecb0e2ce5d21ac6574a3ec61e7f0ef3d /plugins/3MFReader/WorkspaceDialog.qml
parent7c85db4a180230137f4410f6762e601ceb3649d9 (diff)
Pressing enter on project overview will load the project file
CURA-4735
Diffstat (limited to 'plugins/3MFReader/WorkspaceDialog.qml')
-rw-r--r--plugins/3MFReader/WorkspaceDialog.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml
index 826b488e02..5418dcef6d 100644
--- a/plugins/3MFReader/WorkspaceDialog.qml
+++ b/plugins/3MFReader/WorkspaceDialog.qml
@@ -390,6 +390,13 @@ UM.Dialog
}
}
+ function accept() {
+ manager.closeBackend();
+ manager.onOkButtonClicked();
+ base.visible = false;
+ base.accept();
+ }
+
function reject() {
manager.onCancelButtonClicked();
base.visible = false;