mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
on a sync conflict with a local empty deck, force download
This commit is contained in:
parent
427670b565
commit
61c577df85
1 changed files with 11 additions and 7 deletions
|
@ -289,6 +289,10 @@ class SyncThread(QThread):
|
||||||
self._syncMedia()
|
self._syncMedia()
|
||||||
|
|
||||||
def _fullSync(self):
|
def _fullSync(self):
|
||||||
|
# if the local deck is empty, assume user is trying to download
|
||||||
|
if self.col.isEmpty():
|
||||||
|
f = "download"
|
||||||
|
else:
|
||||||
# tell the calling thread we need a decision on sync direction, and
|
# tell the calling thread we need a decision on sync direction, and
|
||||||
# wait for a reply
|
# wait for a reply
|
||||||
self.fullSyncChoice = False
|
self.fullSyncChoice = False
|
||||||
|
|
Loading…
Reference in a new issue