prevent qt from hiding shortcuts in reviewer context

This commit is contained in:
Damien Elmes 2018-11-12 12:02:51 +10:00
parent 4b19e47b3f
commit 8ac5cc8dff

View file

@ -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"):