mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
prevent duplicate f2 shortcuts via edit current
This commit is contained in:
parent
c10068efc6
commit
bbfe323587
1 changed files with 1 additions and 0 deletions
|
@ -1478,6 +1478,7 @@ not be touched.""") %
|
||||||
def setupEditor(self):
|
def setupEditor(self):
|
||||||
self.editor = ui.facteditor.FactEditor(
|
self.editor = ui.facteditor.FactEditor(
|
||||||
self, self.mainWin.fieldsArea, self.deck)
|
self, self.mainWin.fieldsArea, self.deck)
|
||||||
|
self.editor.clayout.setShortcut("")
|
||||||
self.editor.onFactValid = self.onFactValid
|
self.editor.onFactValid = self.onFactValid
|
||||||
self.editor.onFactInvalid = self.onFactInvalid
|
self.editor.onFactInvalid = self.onFactInvalid
|
||||||
self.editor.resetOnEdit = False
|
self.editor.resetOnEdit = False
|
||||||
|
|
Loading…
Reference in a new issue