mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix #1998899 [Editor: "Export saved search to search panel" clears Wrap flag](https://bugs.launchpad.net/calibre/+bug/1998899)
This commit is contained in:
parent
372a55c7d0
commit
ee104a3512
@ -450,7 +450,8 @@ class SearchWidget(QWidget):
|
||||
def paste_saved_search(self, s):
|
||||
self.case_sensitive = s.get('case_sensitive') or False
|
||||
self.dot_all = s.get('dot_all') or False
|
||||
self.wrap = s.get('wrap') or False
|
||||
if 'wrap' in s:
|
||||
self.wrap = s.get('wrap') or False
|
||||
self.mode = s.get('mode') or 'normal'
|
||||
self.find = s.get('find') or ''
|
||||
self.replace = s.get('replace') or ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user