mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 18:03:38 +02:00
Fix #1341692 [Edit Book: Ctrl+F over selected text raises an error](https://bugs.launchpad.net/calibre/+bug/1341692)
This commit is contained in:
parent
c2576d2d29
commit
f6b2e9aba8
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ def pre_fill(self, text):
|
|||
if self.mode == 'regex':
|
||||
text = regex.escape(text, special_only=True)
|
||||
self.find = text
|
||||
self.find_text.setSelection(0, len(text)+10)
|
||||
self.find_text.lineEdit().setSelection(0, len(text)+10)
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue