diff --git a/aqt/editcurrent.py b/aqt/editcurrent.py index c029fc36e..d39a049aa 100644 --- a/aqt/editcurrent.py +++ b/aqt/editcurrent.py @@ -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")