This commit is contained in:
thatscringebro
2026-03-31 14:52:09 -04:00
parent d0c1816fe5
commit c009f84038

View File

@@ -136,10 +136,8 @@ where
if let CurrentWidget::TrxList = app.current_widget if let CurrentWidget::TrxList = app.current_widget
&& app.selected_tab == 1 && app.selected_tab == 1
{ {
let char_u = key.code.to_string().parse::<i64>(); if let Ok(c) = key.code.to_string().parse::<i64>() {
match char_u { app.select_tr_type_chart(c);
Ok(c) => app.select_tr_type_chart(c),
_ => {}
} }
} }
} }