From 26d312cbd2d2ae9cb0afd574d1eb217b19ca97ed Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 26 Aug 2017 19:56:25 +1000 Subject: [PATCH] use full window for edit current on non-macs --- aqt/editcurrent.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/aqt/editcurrent.py b/aqt/editcurrent.py index 7fd72c5a7..52f20b4f5 100644 --- a/aqt/editcurrent.py +++ b/aqt/editcurrent.py @@ -11,11 +11,7 @@ from anki.utils import isMac class EditCurrent(QDialog): def __init__(self, mw): - if isMac: - # use a separate window on os x so we can a clean menu - QDialog.__init__(self, None, Qt.Window) - else: - QDialog.__init__(self, mw) + QDialog.__init__(self, None, Qt.Window) self.mw = mw self.form = aqt.forms.editcurrent.Ui_Dialog() self.form.setupUi(self)