diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-01-19 14:51:09 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-01-19 14:51:09 +0300 |
commit | e0c69eb67511b6f675906e38c66e7eca2ac7bb47 (patch) | |
tree | b487e4f9ecb0e2ce5d21ac6574a3ec61e7f0ef3d /plugins/3MFReader/WorkspaceDialog.qml | |
parent | 7c85db4a180230137f4410f6762e601ceb3649d9 (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.qml | 7 |
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; |