Add alternative shortcut CTRL+E for CTRL+F

PR #19190.
This commit is contained in:
Luka Čelebić
2023-06-20 10:52:09 +02:00
committed by GitHub
parent f213f81727
commit 379b0dbe40
2 changed files with 4 additions and 0 deletions

View File

@@ -857,6 +857,8 @@ void MainWindow::createKeyboardShortcuts()
connect(switchExecutionLogShortcut, &QShortcut::activated, this, &MainWindow::displayExecutionLogTab);
const auto *switchSearchFilterShortcut = new QShortcut(QKeySequence::Find, m_transferListWidget);
connect(switchSearchFilterShortcut, &QShortcut::activated, this, &MainWindow::focusSearchFilter);
const auto *switchSearchFilterShortcutAlternative = new QShortcut((Qt::CTRL | Qt::Key_E), m_transferListWidget);
connect(switchSearchFilterShortcutAlternative, &QShortcut::activated, this, &MainWindow::focusSearchFilter);
m_ui->actionDocumentation->setShortcut(QKeySequence::HelpContents);
m_ui->actionOptions->setShortcut(Qt::ALT | Qt::Key_O);