mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix exporting not working with regular scheduler
This commit is contained in:
parent
aa6418dd07
commit
2fec9248f8
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class ExportDialog(QDialog):
|
||||||
deck_name = self.decks[self.frm.deck.currentIndex()]
|
deck_name = self.decks[self.frm.deck.currentIndex()]
|
||||||
deck_name = re.sub('[\\\\/?<>:*|"^]', '_', deck_name)
|
deck_name = re.sub('[\\\\/?<>:*|"^]', '_', deck_name)
|
||||||
|
|
||||||
if not self.isVerbatim and self.isApkg and self.exporter.includeSched:
|
if not self.isVerbatim and self.isApkg and self.exporter.includeSched and self.col.schedVer() == 2:
|
||||||
showInfo("Please switch to the regular scheduler before exporting a single deck .apkg with scheduling.")
|
showInfo("Please switch to the regular scheduler before exporting a single deck .apkg with scheduling.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue