Add logs
This commit is contained in:
parent
49bb758c4b
commit
fc7016caa9
@ -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
|
||||
}
|
||||
};
|
||||
|
@ -971,6 +971,8 @@ impl RedrawEvents for State {
|
||||
}
|
||||
|
||||
fn on_clear(&mut self) -> RepaintMode {
|
||||
debug!("clear model");
|
||||
|
||||
self.model.clear();
|
||||
RepaintMode::All
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user