From 2e9c61c45241f3d27719067810a2011e0ce85999 Mon Sep 17 00:00:00 2001 From: thalieht Date: Sun, 4 Mar 2018 11:57:50 +0200 Subject: [PATCH] Limit the scope of find torrents hotkey in MainWindow To TransferListWidget because it will interfere with the SearchWidget's focus hotkey --- src/gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index f84641d42..3b99aaee6 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -866,7 +866,7 @@ void MainWindow::createKeyboardShortcuts() connect(switchRSSShortcut, &QShortcut::activated, this, static_cast(&MainWindow::displayRSSTab)); QShortcut *switchExecutionLogShortcut = new QShortcut(Qt::ALT + Qt::Key_4, this); connect(switchExecutionLogShortcut, &QShortcut::activated, this, &MainWindow::displayExecutionLogTab); - QShortcut *switchSearchFilterShortcut = new QShortcut(QKeySequence::Find, this); + QShortcut *switchSearchFilterShortcut = new QShortcut(QKeySequence::Find, m_transferListWidget); connect(switchSearchFilterShortcut, &QShortcut::activated, this, &MainWindow::focusSearchFilter); m_ui->actionDocumentation->setShortcut(QKeySequence::HelpContents);