From f5ad2ad16234acafba9e92e24123521c967281f4 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 27 Aug 2023 19:32:41 +0200 Subject: [PATCH] Fix enter key naviation in login flow --- src/qml/Component/Login/Login.qml | 2 +- src/qml/Component/Login/Password.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Component/Login/Login.qml b/src/qml/Component/Login/Login.qml index 088c56434..844842a5a 100644 --- a/src/qml/Component/Login/Login.qml +++ b/src/qml/Component/Login/Login.qml @@ -30,7 +30,7 @@ LoginStep { } Keys.onReturnPressed: { - root.action.trigger() + root.nextAction.trigger() } } diff --git a/src/qml/Component/Login/Password.qml b/src/qml/Component/Login/Password.qml index 46d808221..24bf2637f 100644 --- a/src/qml/Component/Login/Password.qml +++ b/src/qml/Component/Login/Password.qml @@ -33,7 +33,7 @@ LoginStep { statusMessage: LoginHelper.isInvalidPassword ? i18n("Invalid username or password") : "" Keys.onReturnPressed: { - root.action.trigger() + root.nextAction.trigger() } }