Re-render workspace when removing an inactive pane

Antonio Scandurra and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

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

Detailed changes

crates/workspace/src/workspace.rs 🔗

@@ -1089,6 +1089,7 @@ impl Workspace {
         if self.center.remove(&pane).unwrap() {
             self.panes.retain(|p| p != &pane);
             self.activate_pane(self.panes.last().unwrap().clone(), cx);
+            cx.notify();
         }
     }