mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
make number of extra new cards configurable
This commit is contained in:
parent
df3eb18a6c
commit
1aa3ec9fa1
2 changed files with 2 additions and 1 deletions
|
@ -75,6 +75,7 @@ class Config(dict):
|
|||
'showStudyOptions': False,
|
||||
'showStudyStats': True,
|
||||
'showCardTimer': True,
|
||||
'extraNewCards': 5,
|
||||
'created': time.time(),
|
||||
'id': genID(),
|
||||
}
|
||||
|
|
|
@ -1389,7 +1389,7 @@ day = :d""", d=yesterday)
|
|||
##########################################################################
|
||||
|
||||
def onLearnMore(self):
|
||||
self.deck.extraNewCards += 5
|
||||
self.deck.extraNewCards += self.config['extraNewCards']
|
||||
self.reset()
|
||||
|
||||
def onReviewEarly(self):
|
||||
|
|
Loading…
Reference in a new issue