Fix: don't throw error if search yields no result

Fixes #832
This commit is contained in:
Henrik Friedrichsen
2022-06-10 21:37:59 +02:00
parent 7b2e3b007a
commit faad7dab95

View File

@@ -428,7 +428,7 @@ impl<I: ListItem + Clone> ViewExt for ListView<I> {
self.move_focus_to(index); self.move_focus_to(index);
return Ok(CommandResult::Consumed(None)); return Ok(CommandResult::Consumed(None));
} }
None => return Ok(CommandResult::Ignored), None => return Ok(CommandResult::Consumed(None)),
} }
} }
JumpMode::Next => { JumpMode::Next => {