mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
fix parent limit count
This commit is contained in:
parent
fc2c7c434c
commit
e99b5610c5
2 changed files with 1 additions and 2 deletions
|
@ -146,7 +146,7 @@ class DeckConf(QDialog):
|
|||
return ""
|
||||
lim = -1
|
||||
for d in self.mw.col.decks.parents(self.deck['id']):
|
||||
c = self.mw.col.decks.confForDid(d)
|
||||
c = self.mw.col.decks.confForDid(d['id'])
|
||||
x = c[type]['perDay']
|
||||
if lim == -1:
|
||||
lim = x
|
||||
|
|
|
@ -676,7 +676,6 @@ function showAnswer(txt) {
|
|||
self.onReplayRecorded()
|
||||
|
||||
def onReplayRecorded(self):
|
||||
print "replay"
|
||||
if not self._recordedAudio:
|
||||
return tooltip(_("You haven't recorded your voice yet."))
|
||||
clearAudioQueue()
|
||||
|
|
Loading…
Reference in a new issue