diff --git a/bec_widgets/utils/bec_widget.py b/bec_widgets/utils/bec_widget.py index 39be8219..d4f18cba 100644 --- a/bec_widgets/utils/bec_widget.py +++ b/bec_widgets/utils/bec_widget.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from qtpy.QtCore import Slot from qtpy.QtWidgets import QApplication, QWidget @@ -37,7 +39,6 @@ class BECWidget(BECConnector): if hasattr(qapp, "theme_signal"): qapp.theme_signal.theme_updated.connect(self._update_theme) - @Slot(str) def _update_theme(self, theme: str): """Update the theme.""" if theme is None: