mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
add comment
This commit is contained in:
parent
6e79690636
commit
4cd4026a39
@ -54,7 +54,7 @@ impl Widget {
|
|||||||
entry.connect_icon_release({
|
entry.connect_icon_release({
|
||||||
let tab_action = tab_action.clone();
|
let tab_action = tab_action.clone();
|
||||||
move |this, position| match position {
|
move |this, position| match position {
|
||||||
EntryIconPosition::Primary => tab_action.ident.activate(),
|
EntryIconPosition::Primary => tab_action.ident.activate(), // @TODO PrimaryIcon impl
|
||||||
EntryIconPosition::Secondary => tab_action.load.activate(Some(&this.text()), true),
|
EntryIconPosition::Secondary => tab_action.load.activate(Some(&this.text()), true),
|
||||||
_ => todo!(), // unexpected
|
_ => todo!(), // unexpected
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user