mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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.
This commit is contained in:
parent
70d085f475
commit
b8ad45c4e4
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue