]> git.lyx.org Git - features.git/commit
Fixup 89394bcd: handle cursor keys from keypad
authorDaniel Ramoeller <d.lyx@web.de>
Fri, 17 Mar 2023 20:45:36 +0000 (21:45 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 May 2023 09:25:06 +0000 (11:25 +0200)
commitdfc3db773ac79e33b828b2d2b4a008c8a37cd4e9
tree0a515a3ad5ddb624efcead3eb3fb871c631f8dee
parent6213fc35536f9621b6418fab5085bb86359ee45d
Fixup 89394bcd: handle cursor keys from keypad

Due to a macOS peculiarity, it is necessary to handle KeypadModifier.
We do it unconditionnally, although only macOS seems to be affected.

"Note: On macOS, [...] The KeypadModifier value will also be set when
an arrow key is pressed as the arrow keys are considered part of the
keypad." (​https://doc.qt.io/qt-6/qt.html#KeyboardModifier-enum)

Related to bug #12572.
src/frontends/qt/GuiCommandEdit.cpp