allow more recent decks

This commit is contained in:
Damien Elmes 2008-10-13 23:36:53 +09:00
parent b79234eba0
commit 0081ff32d0

View file

@ -539,7 +539,7 @@ class AnkiQt(QMainWindow):
if path in self.config['recentDeckPaths']:
self.config['recentDeckPaths'].remove(path)
self.config['recentDeckPaths'].insert(0, path)
del self.config['recentDeckPaths'][4:]
del self.config['recentDeckPaths'][8:]
self.config.save()
self.updateRecentFilesMenu()