This commit is contained in:
daa 2018-02-23 19:39:53 +03:00
parent 49bb758c4b
commit fc7016caa9
2 changed files with 3 additions and 1 deletions

View File

@ -324,7 +324,7 @@ pub fn call(
"cmdline_block_hide" => ui.cmdline_block_hide(),
"cmdline_pos" => call!(ui->cmdline_pos(args: uint, uint)),
_ => {
println!("Event {}({:?})", method, args);
warn!("Event {}({:?})", method, args);
RepaintMode::Nothing
}
};

View File

@ -971,6 +971,8 @@ impl RedrawEvents for State {
}
fn on_clear(&mut self) -> RepaintMode {
debug!("clear model");
self.model.clear();
RepaintMode::All
}