Update active view when activating a window

Max Brunsfeld created

Change summary

crates/workspace/src/workspace.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/workspace/src/workspace.rs 🔗

@@ -3117,6 +3117,7 @@ impl Workspace {
 
     pub fn on_window_activation_changed(&mut self, active: bool, cx: &mut ViewContext<Self>) {
         if active {
+            self.update_active_view_for_followers(cx);
             cx.background()
                 .spawn(persistence::DB.update_timestamp(self.database_id()))
                 .detach();