From 6c6473762fb1b086f20f9c55738789f4b2db275b Mon Sep 17 00:00:00 2001 From: Samson Melamed Date: Mon, 8 Jun 2009 14:07:11 -0400 Subject: [PATCH] perform bulk (media) sync after full sync with server --- ankiqt/ui/sync.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 ankiqt/ui/sync.py diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py old mode 100644 new mode 100755 index 41c15e040..4bde835f7 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -126,6 +126,8 @@ class Sync(QThread): else: self.setStatus(_("Downloading..."), 0) client.fullSyncFromServer(ret[1], ret[2]) + if client.mediaSupported(): + self.doBulkDownload(proxy.deckName) self.setStatus(_("Sync complete."), 0) else: # diff