mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Align return of close_active_item to match original format
This commit is contained in:
parent
39512655aa
commit
aa2af53f56
1 changed files with 1 additions and 1 deletions
|
@ -787,7 +787,7 @@ impl Pane {
|
||||||
let pane = pane_handle.read(cx);
|
let pane = pane_handle.read(cx);
|
||||||
|
|
||||||
if pane.items.is_empty() {
|
if pane.items.is_empty() {
|
||||||
return Some(Task::Ready(Some(Ok(()))));
|
return None;
|
||||||
}
|
}
|
||||||
let active_item_id = pane.items[pane.active_item_index].id();
|
let active_item_id = pane.items[pane.active_item_index].id();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue