onReset() already sets note; don't need to do it twice

This commit is contained in:
Damien Elmes 2018-04-30 15:15:43 +10:00
parent 38178e5281
commit bdaedb7898

View file

@ -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(