mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
use a full window on non-Mac platforms as well
This commit is contained in:
parent
75f58b86d6
commit
1fb2c96d07
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 have 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