fix opening prefs screen in V1 sched

This commit is contained in:
Damien Elmes 2018-01-22 11:24:45 +10:00
parent bb6844716c
commit d78176debe

View file

@ -85,7 +85,7 @@ class Preferences(QDialog):
f.useCurrent.setCurrentIndex(int(not qc.get("addToCur", True))) f.useCurrent.setCurrentIndex(int(not qc.get("addToCur", True)))
f.dayLearnFirst.setChecked(qc.get("dayLearnFirst", False)) f.dayLearnFirst.setChecked(qc.get("dayLearnFirst", False))
if self.mw.col.schedVer() != 2: if self.mw.col.schedVer() != 2:
self.dayLearnFirst.setVisible(False) f.dayLearnFirst.setVisible(False)
def updateCollection(self): def updateCollection(self):
f = self.form f = self.form