Skip to content

Commit

Permalink
Merge pull request #23 from kremeyer/patch-1
Browse files Browse the repository at this point in the history
fixed `Q.StatusBar.showMessage` argument type
  • Loading branch information
LaurentRDC committed Sep 23, 2022
2 parents a5b41bb + c54e9fc commit d46625f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris/gui/gui.py
Expand Up @@ -120,7 +120,7 @@ def __init__(self, *args, **kwargs):
# Including custom 'busy' indicator
status_bar = QtWidgets.QStatusBar(parent=self)
self.controller.status_message_signal.connect(
lambda msg: status_bar.showMessage(msg, 20e3)
lambda msg: status_bar.showMessage(msg, 20_000)
)
self.setStatusBar(status_bar)

Expand Down

0 comments on commit d46625f

Please sign in to comment.