diff --git a/ankiqt/ui/deckproperties.py b/ankiqt/ui/deckproperties.py index 2ff7d37b5..2a1ec89dc 100644 --- a/ankiqt/ui/deckproperties.py +++ b/ankiqt/ui/deckproperties.py @@ -69,6 +69,7 @@ class DeckProperties(QDialog): self.dialog.leechFails.setValue(self.d.getInt("leechFails")) # spacing self.dialog.newSpacing.setText(unicode(self.d.getFloat("newSpacing")/60.0)) + self.dialog.revSpacing.setText(unicode(self.d.getFloat("revSpacing")*100)) def updateModelsList(self): idx = self.dialog.modelsList.currentRow() @@ -216,6 +217,7 @@ class DeckProperties(QDialog): pass try: self.d.setVar("newSpacing", float(self.dialog.newSpacing.text()) * 60) + self.d.setVar("revSpacing", float(self.dialog.revSpacing.text()) / 100.0) except ValueError: pass # hour shift diff --git a/designer/deckproperties.ui b/designer/deckproperties.ui index b353bf833..477468cb3 100644 --- a/designer/deckproperties.ui +++ b/designer/deckproperties.ui @@ -9,7 +9,7 @@ 0 0 - 373 + 383 452 @@ -565,14 +565,14 @@ - + Qt::Horizontal - + Show failed cards early @@ -582,7 +582,7 @@ - + @@ -595,14 +595,14 @@ - + Per-day scheduling - + @@ -664,7 +664,7 @@ - Sibling spacing + Sibling delay (new cards) @@ -691,14 +691,14 @@ - + Suspend leeches - + @@ -738,6 +738,23 @@ + + + + Sibling delay (reviews) + + + + + + + + + + % + + + @@ -795,6 +812,7 @@ leechFails timeOffset newSpacing + revSpacing collapse suspendLeeches perDay