diff --git a/qt/aqt/browser/dialogs.py b/qt/aqt/browser/dialogs.py index 900f8f6be..7ed59237d 100644 --- a/qt/aqt/browser/dialogs.py +++ b/qt/aqt/browser/dialogs.py @@ -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()