mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Clear lastAddedNote on notetype change
This commit is contained in:
parent
466306a0f6
commit
f57c41bf3c
1 changed files with 1 additions and 0 deletions
|
@ -314,6 +314,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
const deckId = await defaultDeckForNotetype({ ntid: notetype.id });
|
const deckId = await defaultDeckForNotetype({ ntid: notetype.id });
|
||||||
deckChooser.select(deckId.did);
|
deckChooser.select(deckId.did);
|
||||||
}
|
}
|
||||||
|
lastAddedNote = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
let notetypeMeta: NotetypeIdAndModTime;
|
let notetypeMeta: NotetypeIdAndModTime;
|
||||||
|
|
Loading…
Reference in a new issue