Library: add a shortcut to focus search line

The Ctrl+F shortcut gives focus to a search bar in many applications.
In this case it allows to search the library without touching a mouse.

YACReaderMacOSXSearchLineEdit::setFocus() will have to be implemented to
make the shortcut work on macOS.
This commit is contained in:
Igor Kushnir
2019-05-19 15:54:59 +03:00
parent 6ab5a83e01
commit 81e40dabec
6 changed files with 18 additions and 0 deletions

View File

@ -213,6 +213,7 @@ public:
QAction *forceCoverExtractedAction;
QAction *deleteComicsAction;
QAction *focusSearchLineAction;
QAction *showEditShortcutsAction;
QAction *updateFolderAction;