From 8ac5cc8dff6e87e4a26adb3b491c0a90a1c94d22 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 12 Nov 2018 12:02:51 +1000 Subject: [PATCH] prevent qt from hiding shortcuts in reviewer context --- aqt/reviewer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/reviewer.py b/aqt/reviewer.py index 6a7ec2d47..e0db85f67 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -631,6 +631,8 @@ time = %(time)d; label, scut, func = row opts = {} a = m.addAction(label) + if qtminor >= 10: + a.setShortcutVisibleInContextMenu(True) if scut: a.setShortcut(QKeySequence(scut)) if opts.get("checked"):