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_block_hide" => ui.cmdline_block_hide(),
|
||||||
"cmdline_pos" => call!(ui->cmdline_pos(args: uint, uint)),
|
"cmdline_pos" => call!(ui->cmdline_pos(args: uint, uint)),
|
||||||
_ => {
|
_ => {
|
||||||
println!("Event {}({:?})", method, args);
|
warn!("Event {}({:?})", method, args);
|
||||||
RepaintMode::Nothing
|
RepaintMode::Nothing
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -971,6 +971,8 @@ impl RedrawEvents for State {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn on_clear(&mut self) -> RepaintMode {
|
fn on_clear(&mut self) -> RepaintMode {
|
||||||
|
debug!("clear model");
|
||||||
|
|
||||||
self.model.clear();
|
self.model.clear();
|
||||||
RepaintMode::All
|
RepaintMode::All
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user