From 3bd01b324dfc6405661a7bbeca7c690c9e37474f Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Fri, 22 May 2020 17:40:31 +0200 Subject: [PATCH] close stashmsg popup correctly --- src/components/stashmsg.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/stashmsg.rs b/src/components/stashmsg.rs index 5f290a58..ce00fdfe 100644 --- a/src/components/stashmsg.rs +++ b/src/components/stashmsg.rs @@ -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), );