close stashmsg popup correctly

This commit is contained in:
Stephan Dilly 2020-05-22 17:40:31 +02:00
parent 1f5706fa0c
commit 3bd01b324d

View file

@ -61,6 +61,9 @@ impl Component for StashMsgComponent {
)
.is_ok()
{
self.input.clear();
self.hide();
self.queue.borrow_mut().push_back(
InternalEvent::Update(NeedsUpdate::ALL),
);