From ba8108c54ce9bc347aba8b940db53bf30248fd11 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 27 Mar 2012 11:00:54 +0900 Subject: [PATCH] possible fix for ok+cancel crash on windows --- aqt/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/browser.py b/aqt/browser.py index 7c974580c..cf4f1eac2 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -1394,6 +1394,7 @@ Any cards mapped to nothing will be deleted. \ If a note has no remaining cards, it will be lost. \ Are you sure you want to continue?""")): return + QDialog.accept(self) self.browser.mw.checkpoint(_("Change Note Type")) b = self.browser b.mw.progress.start() @@ -1405,7 +1406,6 @@ Are you sure you want to continue?""")): b.mw.progress.finish() b.mw.requireReset() self.cleanup() - return QDialog.accept(self) def onHelp(self): openHelp("browsermisc")