reverse order of history

This commit is contained in:
Damien Elmes 2012-05-05 01:45:00 +09:00
parent 7c1761c4ff
commit 50b3c1ddc6

View file

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