mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
prevent stats on dyn decks
This commit is contained in:
parent
10cd5deba0
commit
1051ba3e0b
1 changed files with 7 additions and 0 deletions
|
@ -662,6 +662,13 @@ upload, overwriting any changes either here or on AnkiWeb. Proceed?""")):
|
||||||
deck = self._selectedDeck()
|
deck = self._selectedDeck()
|
||||||
if not deck:
|
if not deck:
|
||||||
return
|
return
|
||||||
|
if deck['dyn']:
|
||||||
|
showInfo(_("""\
|
||||||
|
As cards are removed from a filtered deck as they are answered, viewing the \
|
||||||
|
statistics of a filtered deck will only show you reviews for cards with \
|
||||||
|
multiple steps. To get an accurate report, please empty the filtered deck \
|
||||||
|
and check the statistics for a home deck instead."""))
|
||||||
|
return
|
||||||
aqt.stats.DeckStats(self)
|
aqt.stats.DeckStats(self)
|
||||||
|
|
||||||
def onPrefs(self):
|
def onPrefs(self):
|
||||||
|
|
Loading…
Reference in a new issue