diff -r f227183ae1df -r c3f41b959a65 UI/NotificationWidget.py --- a/UI/NotificationWidget.py Thu Aug 10 11:57:04 2017 +0200 +++ b/UI/NotificationWidget.py Thu Aug 10 13:58:50 2017 +0200 @@ -87,7 +87,8 @@ """ Public method to set the timeout for the notification. - @param timeout timeout to be used in seconds (integer) + @param timeout timeout to be used in seconds (0 = indefinitely) + @type int """ self.__timeout = timeout * 1000 @@ -101,8 +102,9 @@ if not self.__settingPosition: self.__timer.stop() - self.__timer.setInterval(self.__timeout) - self.__timer.start() + if self.__timeout > 0: + self.__timer.setInterval(self.__timeout) + self.__timer.start() super(NotificationWidget, self).show()