Bumped the default timeout for the status bar to 20 seconds

This commit is contained in:
Veronica K. B. Olsen
2020-05-28 22:01:32 +02:00
parent 0c75f24c5d
commit 4e1fe109f3
+5 -1
View File
@@ -137,13 +137,17 @@ class GuiMainStatus(QStatusBar):
self._updateTime()
return True
##
# Setters
##
def setRefTime(self, theTime):
"""Set the reference time for the status bar clock.
"""
self.refTime = theTime
return
def setStatus(self, theMessage, timeOut=10.0):
def setStatus(self, theMessage, timeOut=20.0):
"""Set the status bar message to display for 'timeOut' seconds.
"""
self.showMessage(theMessage, int(timeOut*1000))