From 59ab5f9abb51236008b6e726f621a0ebc01f4017 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 30 Nov 2010 02:58:51 +0900 Subject: [PATCH] make it a full blown window --- ankiqt/ui/clayout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/clayout.py b/ankiqt/ui/clayout.py index c3ca7b09d..cbf318778 100644 --- a/ankiqt/ui/clayout.py +++ b/ankiqt/ui/clayout.py @@ -24,7 +24,7 @@ class CardLayout(QDialog): def __init__(self, factedit, fact, card=None): self.parent = factedit.parent - QDialog.__init__(self, self.parent) + QDialog.__init__(self, self.parent, Qt.Window) self.factedit = factedit self.mw = ankiqt.mw self.deck = self.mw.deck