mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
parent
6e7dcad542
commit
50c1155eb7
2 changed files with 9 additions and 2 deletions
|
@ -21,7 +21,8 @@ class EditCurrent(QMainWindow):
|
||||||
self.setWindowTitle(tr.editing_edit_current())
|
self.setWindowTitle(tr.editing_edit_current())
|
||||||
self.setMinimumHeight(400)
|
self.setMinimumHeight(400)
|
||||||
self.setMinimumWidth(250)
|
self.setMinimumWidth(250)
|
||||||
self.setMenuBar(None)
|
if not is_mac:
|
||||||
|
self.setMenuBar(None)
|
||||||
self.editor = aqt.editor.Editor(
|
self.editor = aqt.editor.Editor(
|
||||||
self.mw,
|
self.mw,
|
||||||
self.form.fieldsArea,
|
self.form.fieldsArea,
|
||||||
|
|
|
@ -47,8 +47,14 @@
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>750</width>
|
<width>750</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
|
</property>
|
||||||
|
<widget class="QMenu" name="menu_Edit">
|
||||||
|
<property name="title">
|
||||||
|
<string>qt_accel_edit</string>
|
||||||
</property>
|
</property>
|
||||||
|
</widget>
|
||||||
|
<addaction name="menu_Edit"/>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
Loading…
Reference in a new issue