Skip to content

Commit

Permalink
do not show when filter popup is already shown
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Sep 23, 2024
1 parent d44cc33 commit 1815ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oryx-tui/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub fn handle_key_events(
}

KeyCode::Char('i') => {
if app.focused_block == FocusedBlock::Help {
if app.focused_block == FocusedBlock::Help || app.update_filters {
return Ok(());
}
app.show_packet_infos_popup = true;
Expand Down Expand Up @@ -479,7 +479,7 @@ pub fn handle_key_events(
}

KeyCode::Char('i') => {
if app.focused_block == FocusedBlock::Help {
if app.focused_block == FocusedBlock::Help || app.update_filters {
return Ok(());
}
app.show_packet_infos_popup = true;
Expand Down

0 comments on commit 1815ac2

Please sign in to comment.