mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
reverse order of history
This commit is contained in:
parent
7c1761c4ff
commit
50b3c1ddc6
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class AddCards(QDialog):
|
|||
|
||||
def addHistory(self, note):
|
||||
txt = stripHTMLMedia(",".join(note.fields))[:30]
|
||||
self.history.append((note.id, txt))
|
||||
self.history.insert(0, (note.id, txt))
|
||||
self.history = self.history[-15:]
|
||||
self.historyButton.setEnabled(True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue