mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 10:37:42 +00:00
LibGUI: Set a tooltip on the emojis' buttons to their code point names
This commit is contained in:
parent
eeb7b153a2
commit
21a89b65fc
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ auto EmojiInputDialog::supported_emoji() -> Vector<Emoji>
|
||||||
done(ExecResult::OK);
|
done(ExecResult::OK);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (name.has_value())
|
||||||
|
button->set_tooltip(name->to_titlecase());
|
||||||
|
|
||||||
code_points.empend(code_point, move(name), move(button));
|
code_points.empend(code_point, move(name), move(button));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue