Skip to content

Commit 3bcf2a3

Browse files
committed
qml: Set tab focus behavior
1 parent da88646 commit 3bcf2a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qml/bitcoin.cpp

+3
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
@@ -100,6 +101,8 @@ int QmlGuiMain(int argc, char* argv[])
100101
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
101102
QGuiApplication app(argc, argv);
102103

104+
app.styleHints()->setTabFocusBehavior(Qt::TabFocusAllControls);
105+
103106
auto handler_message_box = ::uiInterface.ThreadSafeMessageBox_connect(InitErrorMessageBox);
104107

105108
NodeContext node_context;

0 commit comments

Comments
 (0)