aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/ios/todolist/HomePage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/ios/todolist/HomePage.qml')
-rw-r--r--examples/quickcontrols2/ios/todolist/HomePage.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/quickcontrols2/ios/todolist/HomePage.qml b/examples/quickcontrols2/ios/todolist/HomePage.qml
index 4df6f90b7a..3d1b29d1d7 100644
--- a/examples/quickcontrols2/ios/todolist/HomePage.qml
+++ b/examples/quickcontrols2/ios/todolist/HomePage.qml
@@ -127,6 +127,11 @@ Page {
Layout.fillWidth: true
Layout.leftMargin: 10
Layout.rightMargin: 10
+
+ Keys.onReturnPressed: {
+ if (createProjectButton.enabled)
+ createProjectButton.clicked()
+ }
}
Button {