Skip to content

Commit 500a6d2

Browse files
committed
qml: Set tab focus behavior
1 parent fff306e commit 500a6d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qml/bitcoin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <QQmlContext>
3535
#include <QQuickWindow>
3636
#include <QString>
37+
#include <QStyleHints>
3738
#include <QUrl>
3839

3940
QT_BEGIN_NAMESPACE
@@ -98,6 +99,7 @@ int QmlGuiMain(int argc, char* argv[])
9899
Q_INIT_RESOURCE(bitcoin_qml);
99100

100101
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
102+
QGuiApplication::styleHints()->setTabFocusBehavior(Qt::TabFocusAllControls);
101103
QGuiApplication app(argc, argv);
102104

103105
auto handler_message_box = ::uiInterface.ThreadSafeMessageBox_connect(InitErrorMessageBox);

0 commit comments

Comments
 (0)