mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
Merge branch 'master' of https://github.com/sobjornstad/anki
This commit is contained in:
commit
8420fa02d1
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ class EditCurrent(QDialog):
|
|||
self.connect(self,
|
||||
SIGNAL("rejected()"),
|
||||
self.onSave)
|
||||
self.form.buttonBox.button(QDialogButtonBox.Close).setShortcut(
|
||||
QKeySequence("Ctrl+Return"))
|
||||
self.editor = aqt.editor.Editor(self.mw, self.form.fieldsArea, self)
|
||||
self.editor.setNote(self.mw.reviewer.card.note())
|
||||
restoreGeom(self, "editcurrent")
|
||||
|
|
Loading…
Reference in a new issue