Update list.rs

This commit is contained in:
Chris Titus 2024-08-08 18:03:51 -05:00
parent a7c70cd653
commit 8be90b9c7d

View File

@ -307,7 +307,7 @@ impl CustomList {
} }
KeyCode::Enter | KeyCode::Right | KeyCode::Char('l') => { 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() self.handle_enter()
} else { } else {
None None