mirror of https://github.com/helix-editor/helix
set default name to be the id
parent
b2c28b8c37
commit
1393d1452b
|
@ -76,7 +76,7 @@ pub trait Component: Any + AnyComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn name(&self) -> Option<&str> {
|
fn name(&self) -> Option<&str> {
|
||||||
None
|
self.id()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue