From 3d8b7d943c8216134aea3402d6f4633bf947322f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 7 May 2021 14:02:40 +1000 Subject: [PATCH] fix find&replace --- qt/aqt/browser/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()