From c036912752df2f47f674c6196f83e9df54f90200 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Mon, 30 Jul 2018 13:31:10 +0200 Subject: [PATCH] Pressing enter on project window will now open the file dialog to save instead of just closing the window --- resources/qml/WorkspaceSummaryDialog.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/qml/WorkspaceSummaryDialog.qml b/resources/qml/WorkspaceSummaryDialog.qml index 079d840ae7..24e94beb88 100644 --- a/resources/qml/WorkspaceSummaryDialog.qml +++ b/resources/qml/WorkspaceSummaryDialog.qml @@ -24,6 +24,10 @@ UM.Dialog signal yes(); + function accept() { // pressing enter will call this function + close(); + yes(); + } onClosing: { @@ -290,4 +294,4 @@ UM.Dialog } } } -} \ No newline at end of file +}