mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
make sure to save modified on sync online
This commit is contained in:
parent
0da90a47f7
commit
61bb5b9ec9
1 changed files with 2 additions and 1 deletions
|
@ -643,8 +643,9 @@ class AnkiQt(QMainWindow):
|
|||
if not self.saveAndClose(exit=True): return
|
||||
self.deck = DeckStorage.Deck()
|
||||
# ensure all changes come to us
|
||||
self.deck.syncName = "something"
|
||||
self.deck.modified = 0
|
||||
self.deck.s.commit()
|
||||
self.deck.syncName = "something"
|
||||
self.deck.lastLoaded = self.deck.modified
|
||||
if self.config['syncUsername'] and self.config['syncPassword']:
|
||||
if self.syncDeck(onlyMerge=True):
|
||||
|
|
Loading…
Reference in a new issue