> loc
This commit is contained in:
@@ -136,10 +136,8 @@ where
|
||||
if let CurrentWidget::TrxList = app.current_widget
|
||||
&& app.selected_tab == 1
|
||||
{
|
||||
let char_u = key.code.to_string().parse::<i64>();
|
||||
match char_u {
|
||||
Ok(c) => app.select_tr_type_chart(c),
|
||||
_ => {}
|
||||
if let Ok(c) = key.code.to_string().parse::<i64>() {
|
||||
app.select_tr_type_chart(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user