mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
cleanup state in search popup more
This commit is contained in:
parent
0fdec134c5
commit
005047f015
1 changed files with 2 additions and 0 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue