From b9d8def8cc52b6dc0c8afd67c0260be2c315548c Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 17 Jan 2022 10:17:11 +0100 Subject: [PATCH] Always re-render outline view when changing the active selection --- crates/outline/src/outline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/outline/src/outline.rs b/crates/outline/src/outline.rs index 774b765977..b11abac86d 100644 --- a/crates/outline/src/outline.rs +++ b/crates/outline/src/outline.rs @@ -218,8 +218,8 @@ impl OutlineView { active_editor.set_highlighted_rows(Some(display_rows)); Some(active_editor.newest_selection::(&buffer_snapshot).id) }); - cx.notify(); } + cx.notify(); } fn confirm(&mut self, _: &Confirm, cx: &mut ViewContext) {