diff --git a/aqt/overview.py b/aqt/overview.py index c9649e4c9..6daeccd16 100644 --- a/aqt/overview.py +++ b/aqt/overview.py @@ -157,8 +157,9 @@ text-align: center; def _renderBottom(self): links = [ ["opts", _("Options")], - ["refresh", _("Rebuild")], ] + if self.mw.col.decks.current()['dyn']: + links.append(["refresh", _("Rebuild")]) buf = "" for b in links: buf += "" % tuple(b)