Remove unneeded type qualification
This commit is contained in:
parent
1361b61708
commit
b5224bdafd
1 changed files with 1 additions and 1 deletions
|
@ -1366,7 +1366,7 @@ impl Pane {
|
||||||
.id(item.id())
|
.id(item.id())
|
||||||
.invisible()
|
.invisible()
|
||||||
.group_hover("", |style| style.visible())
|
.group_hover("", |style| style.visible())
|
||||||
.child(IconButton::<Self>::new("close_tab", Icon::Close).on_click(
|
.child(IconButton::new("close_tab", Icon::Close).on_click(
|
||||||
move |pane: &mut Self, cx| {
|
move |pane: &mut Self, cx| {
|
||||||
pane.close_item_by_id(id, SaveIntent::Close, cx)
|
pane.close_item_by_id(id, SaveIntent::Close, cx)
|
||||||
.detach_and_log_err(cx);
|
.detach_and_log_err(cx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue