This commit is contained in:
@@ -115,7 +115,7 @@ fn execute_focused_block(ctx: &mut InputContext) {
|
||||
let Some(parsed) = cache[ctx.app.ui.help_topic].as_ref() else {
|
||||
return;
|
||||
};
|
||||
let idx = ctx.app.ui.help_focused_block.unwrap();
|
||||
let idx = ctx.app.ui.help_focused_block.expect("block focused in code nav");
|
||||
let Some(block) = parsed.code_blocks.get(idx) else {
|
||||
return;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user