diff --git a/src/silx/gui/utils/waiteroverlay.py b/src/silx/gui/utils/waiteroverlay.py index 46472ea533..e90c4d54de 100644 --- a/src/silx/gui/utils/waiteroverlay.py +++ b/src/silx/gui/utils/waiteroverlay.py @@ -33,6 +33,10 @@ def __init__(self, underlying_widget: qt.QWidget) -> None: def setText(self, text: str): self._waitingButton.setText(text) + def close(self): + self._waitingButton.setWaiting(False) + super().close() + def getBaseWidget(self) -> Optional[qt.QWidget]: return self._baseWidget()