diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 405d47f233..34aef9046d 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5897,13 +5897,13 @@ impl Editor { scroll_handle: UniformListScrollHandle::default(), deployed_from, })); + cx.notify(); if spawn_straight_away { if let Some(task) = editor.confirm_code_action( &ConfirmCodeAction { item_ix: Some(0) }, window, cx, ) { - cx.notify(); return task; } }