mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
fix regression in proclist
This commit is contained in:
parent
a5400b1e6c
commit
ff2f331947
@ -404,7 +404,9 @@ impl ProcView {
|
|||||||
if self.get_listview_mut().content.len() == 0 { return Ok(()) }
|
if self.get_listview_mut().content.len() == 0 { return Ok(()) }
|
||||||
self.get_listview_mut().remove_proc()?;
|
self.get_listview_mut().remove_proc()?;
|
||||||
self.get_textview().clear().log();
|
self.get_textview().clear().log();
|
||||||
self.get_textview().widget_mut()?.set_text("")
|
self.get_textview().widget_mut()?.set_text("").log();
|
||||||
|
self.viewing = None;
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn show_output(&mut self) -> HResult<()> {
|
fn show_output(&mut self) -> HResult<()> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user