mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
dialog>mainwindow thinko
This commit is contained in:
parent
f9cc13bd23
commit
b08360ddc6
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class DeckModel(QAbstractTableModel):
|
|||
class EditDeck(QMainWindow):
|
||||
|
||||
def __init__(self, parent):
|
||||
QDialog.__init__(self, parent, Qt.Window)
|
||||
QMainWindow.__init__(self, parent)
|
||||
self.parent = parent
|
||||
self.deck = self.parent.deck
|
||||
self.config = parent.config
|
||||
|
|
Loading…
Reference in a new issue