mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-06 08:34:01 +00:00
PICARD-1714: Use standard search shortcut to focus search input
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user