mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Fix field focus lost when pressing alt in the editor (#3378)
This commit is contained in:
parent
0f44796b36
commit
40bcbe44bf
2 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ class AddCards(QMainWindow):
|
|||
gui_hooks.operation_did_execute.append(self.on_operation_did_execute)
|
||||
restoreGeom(self, "add")
|
||||
gui_hooks.add_cards_did_init(self)
|
||||
self.setMenuBar(None)
|
||||
self.show()
|
||||
|
||||
def set_note(self, note: Note, deck_id: DeckId | None = None) -> None:
|
||||
|
|
|
@ -21,6 +21,7 @@ class EditCurrent(QMainWindow):
|
|||
self.setWindowTitle(tr.editing_edit_current())
|
||||
self.setMinimumHeight(400)
|
||||
self.setMinimumWidth(250)
|
||||
self.setMenuBar(None)
|
||||
self.editor = aqt.editor.Editor(
|
||||
self.mw,
|
||||
self.form.fieldsArea,
|
||||
|
|
Loading…
Reference in a new issue