From a128c7d247bf016ce004572c42e712c911d8a88c Mon Sep 17 00:00:00 2001 From: MrMirDan <58086007+MrMirDan@users.noreply.github.com> Date: Fri, 30 Jan 2026 06:42:29 +0200 Subject: [PATCH] fix: keyboard navigation (#2023) * fix: self-hosted easy install card * fix: label double click when enter/return pressed --- client/ui/qml/Controls2/LabelWithButtonType.qml | 6 ++++-- client/ui/qml/Pages2/PageSetupWizardEasy.qml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/ui/qml/Controls2/LabelWithButtonType.qml b/client/ui/qml/Controls2/LabelWithButtonType.qml index 56d721b93..6a4a88106 100644 --- a/client/ui/qml/Controls2/LabelWithButtonType.qml +++ b/client/ui/qml/Controls2/LabelWithButtonType.qml @@ -71,6 +71,8 @@ Item { implicitHeight: content.implicitHeight + content.anchors.leftMargin + content.anchors.rightMargin MouseArea { + id: mouseArea + anchors.fill: parent cursorShape: Qt.PointingHandCursor hoverEnabled: root.enabled @@ -296,13 +298,13 @@ Item { } Keys.onEnterPressed: { - if (clickedFunction && typeof clickedFunction === "function") { + if (!rightImageSource && clickedFunction && typeof clickedFunction === "function") { clickedFunction() } } Keys.onReturnPressed: { - if (clickedFunction && typeof clickedFunction === "function") { + if (!rightImageSource && clickedFunction && typeof clickedFunction === "function") { clickedFunction() } } diff --git a/client/ui/qml/Pages2/PageSetupWizardEasy.qml b/client/ui/qml/Pages2/PageSetupWizardEasy.qml index ef9fdb8e6..f4d5293c8 100644 --- a/client/ui/qml/Pages2/PageSetupWizardEasy.qml +++ b/client/ui/qml/Pages2/PageSetupWizardEasy.qml @@ -107,6 +107,7 @@ PageType { onClicked: function() { isEasySetup = true + checked = true var defaultContainerProto = ContainerProps.defaultProtocol(dockerContainer) listView.dockerContainer = dockerContainer