Remove reference to pane from a toolbar.

Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
Piotr Osiewicz
2023-08-03 16:09:26 +02:00
co-authored by Kyle
parent 7d83d15bf3
commit 8831e03eba
6 changed files with 5 additions and 76 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ impl AssistantPanel {
});
let toolbar = cx.add_view(|cx| {
let mut toolbar = Toolbar::new(None);
let mut toolbar = Toolbar::new();
toolbar.set_can_navigate(false, cx);
toolbar.add_item(cx.add_view(|cx| BufferSearchBar::new(cx)), cx);
toolbar