From 500a6d20be4a5993c7c33bc613f841eca2233642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Thu, 21 Oct 2021 23:20:03 +0100 Subject: [PATCH] qml: Set tab focus behavior --- src/qml/bitcoin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/bitcoin.cpp b/src/qml/bitcoin.cpp index 425b8fb2cf..54c7ccf4f8 100644 --- a/src/qml/bitcoin.cpp +++ b/src/qml/bitcoin.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include QT_BEGIN_NAMESPACE @@ -98,6 +99,7 @@ int QmlGuiMain(int argc, char* argv[]) Q_INIT_RESOURCE(bitcoin_qml); QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QGuiApplication::styleHints()->setTabFocusBehavior(Qt::TabFocusAllControls); QGuiApplication app(argc, argv); auto handler_message_box = ::uiInterface.ThreadSafeMessageBox_connect(InitErrorMessageBox);