From b8ad45c4e4e8ad21d3714b5515b3ac962bcca716 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 31 Jan 2020 13:31:31 +1000 Subject: [PATCH] redraw top toolbar when deck list refreshed Just a hack that allows users to click on Decks to adjust the colour after a macOS theme change. --- qt/aqt/deckbrowser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/deckbrowser.py b/qt/aqt/deckbrowser.py index 8b81d4d2f..d4555dc8d 100644 --- a/qt/aqt/deckbrowser.py +++ b/qt/aqt/deckbrowser.py @@ -28,6 +28,8 @@ class DeckBrowser: av_player.stop_and_clear_queue() self.web.set_bridge_command(self._linkHandler, "deck_browser") self._renderPage() + # redraw top bar for theme change + self.mw.toolbar.draw() def refresh(self): self._renderPage()