From c19c45ef4ae85c503a9d68e9b11e70cdd5db3e9c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 18 Apr 2009 04:56:14 +0900 Subject: [PATCH] fix inMainWindow() --- ankiqt/ui/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 615029248..4c33536d8 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -734,7 +734,6 @@ To upgrade an old deck, download Anki 0.9.8.7.""")) return True def inMainWindow(self): - return True return self.app.activeWindow() == self def onNew(self, initial=False, path=None):