Skip to content

Commit

Permalink
WaiterOverlay: stop waiting before closing
Browse files Browse the repository at this point in the history
  • Loading branch information
payno committed Jul 10, 2023
1 parent fdb1ec3 commit 018dcff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/silx/gui/utils/waiteroverlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 018dcff

Please sign in to comment.