mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
update priorities in deck props if they've changed
This commit is contained in:
parent
92482e3167
commit
efae6f64d8
1 changed files with 3 additions and 0 deletions
|
@ -242,6 +242,7 @@ class DeckProperties(QDialog):
|
|||
*60*60 + time.timezone)
|
||||
except:
|
||||
pass
|
||||
mod = self.d.modified
|
||||
self.updateField(self.d, 'collapseTime',
|
||||
self.dialog.collapse.isChecked() and 1 or 0)
|
||||
self.updateField(self.d,
|
||||
|
@ -256,6 +257,8 @@ class DeckProperties(QDialog):
|
|||
self.updateField(self.d,
|
||||
"suspended",
|
||||
unicode(self.dialog.postponing.text()))
|
||||
if self.d.modified != mod:
|
||||
self.d.updateAllPriorities()
|
||||
# sources
|
||||
d = {}
|
||||
d.update(self.sources)
|
||||
|
|
Loading…
Reference in a new issue