Action with multiple keyboard shortcuts in Designer
Solved
General and Desktop
-
Hello, I'm currently using Designer to construct the main .ui file and wanting to have an action assigned multiple keyboard shortcut combinations (eg. CTRL+C, CTRL+INS). Trying to assign two keyboard shortcuts directly in designer didn't seem to work.
Reading up, it sounds like its only possible by setting a list of KeyboardSequences via setShortcuts() during post-processing in the codebase, but I thought I'd ask here to confirm.
-
Hi,
AFAIK, yes, you need to set them in your widget constructor.