fix busy cursor in full sync screen

This commit is contained in:
Damien Elmes 2018-05-01 14:34:03 +10:00
parent 4b28151b61
commit de955e57c4

View file

@ -234,6 +234,7 @@ enter your details below.""") %
return (u, p)
def _confirmFullSync(self):
self.mw.progress.finish()
if self.thread.localIsEmpty:
diag = askUserDialog(
_("Local collection has no cards. Download from AnkiWeb?"),
@ -266,6 +267,7 @@ automatically."""),
self.thread.fullSyncChoice = "download"
else:
self.thread.fullSyncChoice = "cancel"
self.mw.progress.start(immediate=True)
def _clockOff(self):
showWarning(_("""\