make it a full blown window

This commit is contained in:
Damien Elmes 2010-11-30 02:58:51 +09:00
parent f4ef8b5123
commit 59ab5f9abb

View file

@ -24,7 +24,7 @@ class CardLayout(QDialog):
def __init__(self, factedit, fact, card=None): def __init__(self, factedit, fact, card=None):
self.parent = factedit.parent self.parent = factedit.parent
QDialog.__init__(self, self.parent) QDialog.__init__(self, self.parent, Qt.Window)
self.factedit = factedit self.factedit = factedit
self.mw = ankiqt.mw self.mw = ankiqt.mw
self.deck = self.mw.deck self.deck = self.mw.deck