diff --git a/aqt/stats.py b/aqt/stats.py index 5e4c3ac91..ae19c2ec0 100644 --- a/aqt/stats.py +++ b/aqt/stats.py @@ -16,7 +16,7 @@ import aqt class DeckStats(QDialog): def __init__(self, mw): - QDialog.__init__(self, mw) + QDialog.__init__(self, mw, Qt.Window) self.mw = mw self.name = "deckStats" self.period = 0