mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
don't bump deck modified until fact is commited
This commit is contained in:
parent
f083d95282
commit
c2186f2a59
1 changed files with 2 additions and 1 deletions
|
@ -496,6 +496,7 @@ class FactEditor(object):
|
|||
modified = True
|
||||
if modified:
|
||||
self.fact.setModified(textChanged=True)
|
||||
if not self.fact.isNew():
|
||||
self.deck.setModified()
|
||||
self.deck.setUndoEnd(n)
|
||||
|
||||
|
|
Loading…
Reference in a new issue