co-authored by
Nathan Sobo
parent
ca697e1bba
commit
b67be5ded3
@@ -538,10 +538,8 @@ impl workspace::Item for ProjectDiagnostics {
|
||||
}
|
||||
|
||||
impl workspace::ItemView for ProjectDiagnosticsEditor {
|
||||
type ItemHandle = ModelHandle<ProjectDiagnostics>;
|
||||
|
||||
fn item_handle(&self, _: &AppContext) -> Self::ItemHandle {
|
||||
self.model.clone()
|
||||
fn item_id(&self, _: &AppContext) -> usize {
|
||||
self.model.id()
|
||||
}
|
||||
|
||||
fn tab_content(&self, style: &theme::Tab, _: &AppContext) -> ElementBox {
|
||||
|
||||
Reference in New Issue
Block a user