mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix search_and_replace option names.
This commit is contained in:
parent
51e7a555e1
commit
b2626bace3
@ -36,7 +36,7 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
|
||||
self.opt_sr3_search.break_cycles()
|
||||
|
||||
def pre_commit_check(self):
|
||||
for x in ('sr1-search', 'sr2-search', 'sr3-search'):
|
||||
for x in ('sr1_search', 'sr2_search', 'sr3_search'):
|
||||
x = getattr(self, 'opt_'+x)
|
||||
try:
|
||||
pat = unicode(x.regex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user