diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-03-09 12:54:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-03-09 15:59:28 +0100 |
commit | a1481e05437c8129d60678f5105ae04b413ae53d (patch) | |
tree | 4e0198f70ad8073a5811233cdcb65cfe5fb699dd /vcl | |
parent | aed83675d184a9e3a3acb9e072d166e9834b35c6 (diff) |
add more needed menu accel names
Change-Id: Ie7a0d1267c327b1a315c3159f0c12c3c7a2dcb2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90220
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index f44dabce534c..6291fd4226a1 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -3622,6 +3622,16 @@ namespace return vcl::KeyCode(KEY_INSERT, bShift, bMod1, bMod2, bMod3); else if (rKey.first == "Delete") return vcl::KeyCode(KEY_DELETE, bShift, bMod1, bMod2, bMod3); + else if (rKey.first == "Return") + return vcl::KeyCode(KEY_RETURN, bShift, bMod1, bMod2, bMod3); + else if (rKey.first == "Up") + return vcl::KeyCode(KEY_UP, bShift, bMod1, bMod2, bMod3); + else if (rKey.first == "Down") + return vcl::KeyCode(KEY_DOWN, bShift, bMod1, bMod2, bMod3); + else if (rKey.first == "Left") + return vcl::KeyCode(KEY_LEFT, bShift, bMod1, bMod2, bMod3); + else if (rKey.first == "Right") + return vcl::KeyCode(KEY_RIGHT, bShift, bMod1, bMod2, bMod3); assert (rKey.first.getLength() == 1); char cChar = rKey.first.toChar(); |