The shortcut may be used elsewhere, e.g. in user manual

Signed-off-by: Sergey Starosek <[email protected]>
---
 qt-ui/divelistview.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 9f5b0c0..d6331e8 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -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);
-- 
1.8.3.2

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to