mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -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()
|
moreButton = QComboBox()
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
moreButton.setFixedWidth(80)
|
moreButton.setFixedWidth(80)
|
||||||
|
if sys.platform.startswith("win32") and \
|
||||||
|
self.config['alternativeTheme']:
|
||||||
|
moreButton.setFixedHeight(24)
|
||||||
moreButton.addItems(QStringList([
|
moreButton.addItems(QStringList([
|
||||||
_("More"),
|
_("More"),
|
||||||
_("Forget"),
|
_("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:
|
else:
|
||||||
self.setStatus(_("Downloading..."), 0)
|
self.setStatus(_("Downloading..."), 0)
|
||||||
client.fullSyncFromServer(ret[1], ret[2])
|
client.fullSyncFromServer(ret[1], ret[2])
|
||||||
|
if client.mediaSupported():
|
||||||
|
self.doBulkDownload(proxy.deckName)
|
||||||
self.setStatus(_("Sync complete."), 0)
|
self.setStatus(_("Sync complete."), 0)
|
||||||
else:
|
else:
|
||||||
# diff
|
# diff
|
||||||
|
|
Loading…
Reference in a new issue