mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 10:29:35 +03:00
Fix panic when closing pane's last item
This commit is contained in:
parent
611538f6bd
commit
7db4cad9e0
@ -385,6 +385,8 @@ impl Pane {
|
||||
self.update_active_toolbar(cx);
|
||||
cx.emit(Event::Remove);
|
||||
}
|
||||
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
fn focus_active_item(&mut self, cx: &mut ViewContext<Self>) {
|
||||
|
Loading…
Reference in New Issue
Block a user