"Right" string does not work for indicating right-arrow in Shortcut-Type
-
Hey, I am trying to use the
Shortcuttype with the "Right" key as sequence. For some reason this works:Shortcut { sequences: ["DOWN"] onActivated: console.log("works") }But this doesnt:
Shortcut { sequences: ["RIGHT"] onActivated: console.log("works") }I've looked into the Qt source code and found:
{ Qt::Key_Right, QT_TRANSLATE_NOOP("QShortcut", "Right") },
in qkeysequence.cpp and I feel like this indicates that "Right" should work, but it doesn't.Does anyone have an idea what I did wrong?
Thanks for any help in advance -
I found the problem. It was a
TextFieldwhich I forced active focus on upon completion of a object I used in that window. Removing forcing the focus fixes the problem