mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Merge branch 'master' of git://github.com/scout/ankiqt
This commit is contained in:
commit
ea259d0815
2 changed files with 5 additions and 0 deletions
3
ankiqt/ui/main.py
Normal file → Executable file
3
ankiqt/ui/main.py
Normal file → Executable file
|
@ -1135,6 +1135,9 @@ your deck."""))
|
|||
moreButton = QComboBox()
|
||||
if sys.platform.startswith("darwin"):
|
||||
moreButton.setFixedWidth(80)
|
||||
if sys.platform.startswith("win32") and \
|
||||
self.config['alternativeTheme']:
|
||||
moreButton.setFixedHeight(24)
|
||||
moreButton.addItems(QStringList([
|
||||
_("More"),
|
||||
_("Forget"),
|
||||
|
|
2
ankiqt/ui/sync.py
Normal file → Executable file
2
ankiqt/ui/sync.py
Normal file → Executable file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue