From 8f693aaf4da89a0318d6ecbbdd04935432a90cc5 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sun, 26 Jan 2020 17:19:31 +0100 Subject: [PATCH] PICARD-1714: Use standard search shortcut to focus search input --- picard/ui/mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/picard/ui/mainwindow.py b/picard/ui/mainwindow.py index f7126dcbf..fd04fdacd 100644 --- a/picard/ui/mainwindow.py +++ b/picard/ui/mainwindow.py @@ -194,6 +194,8 @@ class MainWindow(QtWidgets.QMainWindow, PreserveGeometry): self.metadata_box.remove_selected_tags() else: self.remove() + elif event.matches(QtGui.QKeySequence.Find): + self.search_edit.setFocus(True) else: super().keyPressEvent(event)