mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix busy cursor in full sync screen
This commit is contained in:
parent
4b28151b61
commit
de955e57c4
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,7 @@ enter your details below.""") %
|
||||||
return (u, p)
|
return (u, p)
|
||||||
|
|
||||||
def _confirmFullSync(self):
|
def _confirmFullSync(self):
|
||||||
|
self.mw.progress.finish()
|
||||||
if self.thread.localIsEmpty:
|
if self.thread.localIsEmpty:
|
||||||
diag = askUserDialog(
|
diag = askUserDialog(
|
||||||
_("Local collection has no cards. Download from AnkiWeb?"),
|
_("Local collection has no cards. Download from AnkiWeb?"),
|
||||||
|
@ -266,6 +267,7 @@ automatically."""),
|
||||||
self.thread.fullSyncChoice = "download"
|
self.thread.fullSyncChoice = "download"
|
||||||
else:
|
else:
|
||||||
self.thread.fullSyncChoice = "cancel"
|
self.thread.fullSyncChoice = "cancel"
|
||||||
|
self.mw.progress.start(immediate=True)
|
||||||
|
|
||||||
def _clockOff(self):
|
def _clockOff(self):
|
||||||
showWarning(_("""\
|
showWarning(_("""\
|
||||||
|
|
Loading…
Reference in a new issue