mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
ensure save completes before syncing
This commit is contained in:
parent
5e74b8d275
commit
212bae412b
1 changed files with 2 additions and 1 deletions
|
@ -1406,7 +1406,8 @@ day = :d""", d=yesterday)
|
||||||
return
|
return
|
||||||
if self.deck:
|
if self.deck:
|
||||||
if not self.deck.path:
|
if not self.deck.path:
|
||||||
self.onSave()
|
if not self.save(required=True):
|
||||||
|
return
|
||||||
if self.deck and not self.deck.syncName:
|
if self.deck and not self.deck.syncName:
|
||||||
if interactive:
|
if interactive:
|
||||||
self.onDeckProperties()
|
self.onDeckProperties()
|
||||||
|
|
Loading…
Reference in a new issue