From 7ea02d5ea9b6fffc8ff20ea70ae6678ce3cd31b0 Mon Sep 17 00:00:00 2001 From: Glutanimate Date: Wed, 25 Jul 2018 12:00:08 +0200 Subject: [PATCH] Set showInfo parent explicitly in in browser find and replace Fixes an issue where focus would be passed over to mw after longer find and replace processing times. --- aqt/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/browser.py b/aqt/browser.py index 7f0a8058a..117d3ef88 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -1709,7 +1709,7 @@ update cards set usn=?, mod=?, did=? where id in """ + scids, "%(a)d of %(b)d notes updated", len(sf)) % { 'a': changed, 'b': len(sf), - }) + }, parent=self) def onFindReplaceHelp(self): openHelp("findreplace")