mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 15:17:12 -05:00
add separate option to deck opts
This commit is contained in:
parent
60ba70b1b5
commit
d3acebe395
2 changed files with 10 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ class DeckConf(QDialog):
|
|||
f.lrnFactor.setValue(c['initialFactor']/10.0)
|
||||
f.newOrder.setCurrentIndex(c['order'])
|
||||
f.newPerDay.setValue(c['perDay'])
|
||||
f.separate.setChecked(c['separate'])
|
||||
# rev
|
||||
c = self.conf['rev']
|
||||
f.revPerDay.setValue(c['perDay'])
|
||||
|
|
@ -224,6 +225,7 @@ class DeckConf(QDialog):
|
|||
c['initialFactor'] = f.lrnFactor.value()*10
|
||||
c['order'] = f.newOrder.currentIndex()
|
||||
c['perDay'] = f.newPerDay.value()
|
||||
c['separate'] = f.separate.isChecked()
|
||||
# rev
|
||||
c = self.conf['rev']
|
||||
c['perDay'] = f.revPerDay.value()
|
||||
|
|
|
|||
|
|
@ -176,6 +176,13 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="3">
|
||||
<widget class="QCheckBox" name="separate">
|
||||
<property name="text">
|
||||
<string>Try not to show sibling notes next to each other</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
|
|
@ -672,6 +679,7 @@
|
|||
<tabstop>lrnGradInt</tabstop>
|
||||
<tabstop>lrnEasyInt</tabstop>
|
||||
<tabstop>lrnFactor</tabstop>
|
||||
<tabstop>separate</tabstop>
|
||||
<tabstop>revOrder</tabstop>
|
||||
<tabstop>revPerDay</tabstop>
|
||||
<tabstop>revSpace</tabstop>
|
||||
|
|
|
|||
Loading…
Reference in a new issue