Bug 17178: Add shortcut to keyboard_shortcut table

This patch adds Ctrl-K shortcut to toggle virtual keyboard shortcut

Sponsored-by: Round Rock Public Library

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Agustin Moyano 2019-05-14 02:57:07 -03:00 committed by Martin Renvoize
parent fc39e24eb5
commit 00b71e8ea3
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,10 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys)
VALUES ("toggle_keyboard", "Shift-Ctrl-K")
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 17178 - add shortcut to keyboard_shortcuts)\n";
}

View file

@ -31,4 +31,5 @@ INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys) VALUES
("new_line","Enter"),
("line_break","Shift-Enter"),
("next_position","Tab"),
("prev_position","Shift-Tab");
("prev_position","Shift-Tab"),
("toggle_keyboard", "Shift-Ctrl-K");