mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make Ctrl-F window shortcut
The shortcut may be used elsewhere, e.g. in user manual Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7ba167e1b3
commit
e5ae3fca7f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec
|
|||
header()->setStretchLastSection(true);
|
||||
QAction *showSearchBox = new QAction(tr("Show Search Box"), this);
|
||||
showSearchBox->setShortcut( Qt::CTRL + Qt::Key_F);
|
||||
showSearchBox->setShortcutContext(Qt::ApplicationShortcut);
|
||||
showSearchBox->setShortcutContext(Qt::WindowShortcut);
|
||||
addAction(showSearchBox);
|
||||
|
||||
searchBox->installEventFilter(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue