Define Ctrl+Return in AddCardsAndClose
This commit is contained in:
parent
49d6862538
commit
b7258de5b7
@ -1058,6 +1058,7 @@ class AnkiConnect:
|
|||||||
def __init__(self, mw):
|
def __init__(self, mw):
|
||||||
super().__init__(mw)
|
super().__init__(mw)
|
||||||
self.addButton.setText("Add and Close")
|
self.addButton.setText("Add and Close")
|
||||||
|
self.addButton.setShortcut(aqt.qt.QKeySequence("Ctrl+Return"))
|
||||||
|
|
||||||
def _addCards(self):
|
def _addCards(self):
|
||||||
self.editor.saveAddModeVars()
|
self.editor.saveAddModeVars()
|
||||||
|
Loading…
Reference in New Issue
Block a user