place no limit on number of remembered decks

This commit is contained in:
Damien Elmes 2009-11-27 19:53:55 +09:00
parent b852a6405a
commit b2a72d5672

View file

@ -758,7 +758,6 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
if path in self.config['recentDeckPaths']: if path in self.config['recentDeckPaths']:
self.config['recentDeckPaths'].remove(path) self.config['recentDeckPaths'].remove(path)
self.config['recentDeckPaths'].insert(0, path) self.config['recentDeckPaths'].insert(0, path)
del self.config['recentDeckPaths'][100:]
self.config.save() self.config.save()
def onSwitchToDeck(self): def onSwitchToDeck(self):