Add 'L' as a legend toggle shortcut in preview

This commit is contained in:
Yuri D'Elia 2019-06-22 17:39:09 +02:00 committed by Vojtěch Bubník
parent 07480edc50
commit 489fba326e
2 changed files with 6 additions and 0 deletions

View file

@ -178,6 +178,7 @@ void KBShortcutsDialog::fill_shortcuts()
preview_shortcuts.push_back(Shortcut(L("Arrow Down"), L("Lower Layer")));
preview_shortcuts.push_back(Shortcut("U", L("Upper Layer")));
preview_shortcuts.push_back(Shortcut("D", L("Lower Layer")));
preview_shortcuts.push_back(Shortcut("L", L("Show/Hide (L)egend")));
m_full_shortcuts.push_back(std::make_pair(_(L("Preview Shortcuts")), std::make_pair(preview_shortcuts, szLeft)));