Log view name alongside error in ChildView

This commit is contained in:
Antonio Scandurra 2022-10-13 15:40:21 +02:00
parent edb61a9c8f
commit a5a60eb854
29 changed files with 105 additions and 63 deletions

View file

@ -105,7 +105,7 @@ impl View for BufferSearchBar {
.with_child(
Flex::row()
.with_child(
ChildView::new(&self.query_editor)
ChildView::new(&self.query_editor, cx)
.aligned()
.left()
.flex(1., true)

View file

@ -189,7 +189,9 @@ impl View for ProjectSearchView {
})
.boxed()
} else {
ChildView::new(&self.results_editor).flex(1., true).boxed()
ChildView::new(&self.results_editor, cx)
.flex(1., true)
.boxed()
}
}
@ -824,7 +826,7 @@ impl View for ProjectSearchBar {
.with_child(
Flex::row()
.with_child(
ChildView::new(&search.query_editor)
ChildView::new(&search.query_editor, cx)
.aligned()
.left()
.flex(1., true)