mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
onReset() already sets note; don't need to do it twice
This commit is contained in:
parent
38178e5281
commit
bdaedb7898
1 changed files with 0 additions and 2 deletions
|
@ -33,8 +33,6 @@ class AddCards(QDialog):
|
|||
addHook('currentModelChanged', self.onModelChange)
|
||||
addCloseShortcut(self)
|
||||
self.show()
|
||||
n = self.mw.col.newNote()
|
||||
self.setAndFocusNote(n)
|
||||
|
||||
def setupEditor(self):
|
||||
self.editor = aqt.editor.Editor(
|
||||
|
|
Loading…
Reference in a new issue