remove suspended from deck properties

This commit is contained in:
Damien Elmes 2009-06-18 03:26:48 +09:00
parent efeb3786bb
commit 35e9356d82

View file

@ -51,7 +51,6 @@ class DeckProperties(QDialog):
self.dialog.highPriority.setText(self.d.highPriority) self.dialog.highPriority.setText(self.d.highPriority)
self.dialog.medPriority.setText(self.d.medPriority) self.dialog.medPriority.setText(self.d.medPriority)
self.dialog.lowPriority.setText(self.d.lowPriority) self.dialog.lowPriority.setText(self.d.lowPriority)
self.dialog.postponing.setText(self.d.suspended)
# scheduling # scheduling
for type in ("hard", "mid", "easy"): for type in ("hard", "mid", "easy"):
v = getattr(self.d, type + "IntervalMin") v = getattr(self.d, type + "IntervalMin")
@ -260,9 +259,6 @@ class DeckProperties(QDialog):
self.updateField(self.d, self.updateField(self.d,
"lowPriority", "lowPriority",
unicode(self.dialog.lowPriority.text())) unicode(self.dialog.lowPriority.text()))
self.updateField(self.d,
"suspended",
unicode(self.dialog.postponing.text()))
prioritiesChanged = was != self.d.modified prioritiesChanged = was != self.d.modified
# sources # sources
d = {} d = {}