cleanup state in search popup more

This commit is contained in:
extrawurst 2023-08-26 23:55:51 +02:00
parent 0fdec134c5
commit 005047f015

View file

@ -75,8 +75,10 @@ impl LogSearchPopupComponent {
pub fn open(&mut self) -> Result<()> {
self.show()?;
self.selection = Selection::EnterText;
self.find_text.show()?;
self.find_text.set_text(String::new());
self.find_text.enabled(true);
Ok(())
}