Do not call _set_timer_interval() at constructor
No need to call _set_timer_interval() at constructor since it's called every time timer is going to be started.
This commit is contained in:
parent
c015e9cc5d
commit
cb0bd2c52d
@ -83,7 +83,6 @@ class MessageView(QWidget):
|
||||
|
||||
self._clear_timer = QTimer()
|
||||
self._clear_timer.timeout.connect(self.clear_messages)
|
||||
self._set_clear_timer_interval()
|
||||
objreg.get('config').changed.connect(self._set_clear_timer_interval)
|
||||
|
||||
self._last_text = None
|
||||
|
Loading…
Reference in New Issue
Block a user