diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index 6a25f9d6d..492538534 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -197,7 +197,7 @@ QTabWidget { background-color: %s; } app.setPalette(palette) - def _update_stat_colors(self): + def _update_stat_colors(self) -> None: import anki.stats as s s.colLearn = self.str_color("new-count")