This commit is contained in:
Damien Elmes 2011-11-23 13:03:51 +09:00
parent f8e53f8381
commit be921563f0
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ class CardLayout(QDialog):
# type is previewCards() type # type is previewCards() type
def __init__(self, mw, fact, type=0, ord=0, parent=None): def __init__(self, mw, fact, type=0, ord=0, parent=None):
QDialog.__init__(self, parent or mw, Qt.Window) QDialog.__init__(self, parent or mw, Qt.Window)
raise Exception("Remember to disallow media&latex refs in edit.")
self.mw = aqt.mw self.mw = aqt.mw
self.parent = parent or mw self.parent = parent or mw
self.fact = fact self.fact = fact

1
designer/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.DS_Store