mirror of
https://github.com/ankitects/anki.git
synced 2025-12-30 23:32:57 -05:00
use full window for edit current on non-macs
This commit is contained in:
parent
ef94445b2c
commit
26d312cbd2
1 changed files with 1 additions and 5 deletions
|
|
@ -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)
|
||||
self.mw = mw
|
||||
self.form = aqt.forms.editcurrent.Ui_Dialog()
|
||||
self.form.setupUi(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue