diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2018-06-26 11:48:52 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2018-07-03 14:10:49 +0200 |
commit | b1a5ce7d1db7b654ad49b8865ecdf482ef05e2b7 (patch) | |
tree | 45f40481cb1a6a5d6ece4c8e0f1fff95cd15e442 /vcl | |
parent | e3ac0b04324b32a58c6ce94b413de3c3ea2fa9e0 (diff) |
Traversing dialog controls backwards (Shift-Tab) works now
Change-Id: If0e8d7307dd37436751e524d7ed24e89d5b72db3
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Widget.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx index 3e3448381946..c4d38264782c 100644 --- a/vcl/qt5/Qt5Widget.cxx +++ b/vcl/qt5/Qt5Widget.cxx @@ -257,6 +257,10 @@ static sal_uInt16 GetKeyCode(int keyval) nCode = KEY_ESCAPE; break; case Qt::Key_Tab: + // oddly enough, Qt doesn't send Shift-Tab event as 'Tab key pressed with Shift + // modifier' but as 'Backtab key pressed' (while its modifier bits are still + // set to Shift) -- so let's map both Key_Tab and Key_Backtab to VCL's KEY_TAB + case Qt::Key_Backtab: nCode = KEY_TAB; break; case Qt::Key_Backspace: |