mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1756712 [Enhancement: Ctrl+F when reading ebook - select previously searched text](https://bugs.launchpad.net/calibre/+bug/1756712)
This commit is contained in:
parent
5c6e98a7e8
commit
9af465ae7e
@ -1127,6 +1127,7 @@ class EbookViewer(MainWindow):
|
||||
if not self.tool_bar.isVisible():
|
||||
self.toggle_toolbars()
|
||||
self.search.setFocus(Qt.OtherFocusReason)
|
||||
self.search.lineEdit().selectAll()
|
||||
return
|
||||
if not self.view.handle_key_press(event):
|
||||
event.ignore()
|
||||
|
Loading…
x
Reference in New Issue
Block a user