status: invalidate when needed

In order for the message to actually show up we need to invalidate after setting
the status stack.
This commit is contained in:
Reto Brunner 2020-07-03 08:12:50 +02:00
parent fc2c6fff0d
commit 6abe1c708f
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func (status *StatusLine) Push(text string, expiry time.Duration) *StatusMessage
} }
status.Invalidate() status.Invalidate()
})() })()
status.Invalidate()
return msg return msg
} }