From 7692c7c1c9e5d75e6e0a1324d212b6b209e80b6c Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Thu, 8 Aug 2024 23:59:33 +0100 Subject: [PATCH] Fix chris fat finger --- src/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.rs b/src/list.rs index 97e896a8..e85bd28d 100644 --- a/src/list.rs +++ b/src/list.rs @@ -307,7 +307,7 @@ impl CustomList { } KeyCode::Enter | KeyCode::Right | KeyCode::Char('l') => { - if self.preview_window_state.is_none() { + if self.preview_float.get_content().is_none() { self.handle_enter() } else { None