mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
fix find&replace
This commit is contained in:
parent
af2c7c0744
commit
3d8b7d943c
1 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ class FindAndReplaceDialog(QDialog):
|
|||
replacement=replace,
|
||||
regex=regex,
|
||||
match_case=match_case,
|
||||
)
|
||||
).run_in_background()
|
||||
else:
|
||||
# fields
|
||||
if self.form.field.currentIndex() == 0:
|
||||
|
@ -327,7 +327,7 @@ class FindAndReplaceDialog(QDialog):
|
|||
regex=regex,
|
||||
field_name=field,
|
||||
match_case=match_case,
|
||||
)
|
||||
).run_in_background()
|
||||
|
||||
super().accept()
|
||||
|
||||
|
|
Loading…
Reference in a new issue