mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
fix(settings): give the add-host button the tooltip its neighbour has
The + and the ⋯ sit side by side above the Hosts list at the same size and weight; only the ⋯ named itself on hover. It now says "New host", the same words the form it opens puts in its title.
This commit is contained in:
@@ -1835,6 +1835,7 @@ impl Tty7App {
|
||||
.icon(Icon::new(IconName::Plus))
|
||||
.ghost()
|
||||
.small()
|
||||
.tooltip(t(L10nKey::SettingsNewHost))
|
||||
.on_click(cx.listener(|this, _, window, cx| {
|
||||
this.add_new_profile(window, cx)
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user