From 09cfd79c6022ab95bca8c1b16db1b8e00fa71d26 Mon Sep 17 00:00:00 2001 From: ts-korhonen Date: Thu, 13 Jan 2022 00:48:52 +0200 Subject: [PATCH] qt: disable automatic mnemonics Fixes alt entering menu --- src/qt/qt_main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index 16c1e3b53..292045bfe 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -48,6 +48,8 @@ extern "C" { extern int qt_nvr_save(void); } +void qt_set_sequence_auto_mnemonic(bool b); + void main_thread_fn() { @@ -101,6 +103,7 @@ main_thread_fn() int main(int argc, char* argv[]) { QApplication app(argc, argv); + qt_set_sequence_auto_mnemonic(false); Q_INIT_RESOURCE(qt_resources); Q_INIT_RESOURCE(qt_translations); QSurfaceFormat fmt = QSurfaceFormat::defaultFormat();