From 2377924f9c19ecd873e234c5babe62d063bada45 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 26 Aug 2023 13:45:15 +0200 Subject: [PATCH] use popup specific up/down cmds (fixes #1831) --- src/components/log_search_popup.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/log_search_popup.rs b/src/components/log_search_popup.rs index be8ee4d0..9841424e 100644 --- a/src/components/log_search_popup.rs +++ b/src/components/log_search_popup.rs @@ -328,9 +328,7 @@ impl Component for LogSearchPopupComponent { out.push( CommandInfo::new( - strings::commands::navigate_tree( - &self.key_config, - ), + strings::commands::scroll_popup(&self.key_config), true, true, ) @@ -370,12 +368,14 @@ impl Component for LogSearchPopupComponent { && !self.find_text.get_text().trim().is_empty() { self.execute_search(); - } else if key_match(key, self.key_config.keys.move_up) - { + } else if key_match( + key, + self.key_config.keys.popup_up, + ) { self.move_selection(true); } else if key_match( key, - self.key_config.keys.move_down, + self.key_config.keys.popup_down, ) { self.move_selection(false); } else if key_match(