From de27cf2a639606cd29f66d58b726594f08952de4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 4 Feb 2020 19:40:01 +1000 Subject: [PATCH] if toolbar refreshed, make sure not to clear syncing --- qt/aqt/toolbar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/toolbar.py b/qt/aqt/toolbar.py index 2ffcb282f..67dca7555 100644 --- a/qt/aqt/toolbar.py +++ b/qt/aqt/toolbar.py @@ -52,6 +52,8 @@ class Toolbar: self._body % self._centerLinks(), css=["toolbar.css"], context=web_context, ) self.web.adjustHeightToFit() + if self.mw.media_syncer.is_syncing(): + self.set_sync_active(True) # Available links ######################################################################