mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibGUI+Userland: Port Action status tips to String
This commit is contained in:
parent
4b169cf25f
commit
5234a30731
16 changed files with 86 additions and 85 deletions
|
@ -171,7 +171,7 @@ ErrorOr<void> Toolbar::create_overflow_objects()
|
|||
m_overflow_action = Action::create("Overflow Menu", { Mod_Ctrl | Mod_Shift, Key_O }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/overflow-menu.png"sv)), [&](auto&) {
|
||||
m_overflow_menu->popup(m_overflow_button->screen_relative_rect().bottom_left().moved_up(1), {}, m_overflow_button->rect());
|
||||
});
|
||||
m_overflow_action->set_status_tip("Show hidden toolbar actions");
|
||||
m_overflow_action->set_status_tip(TRY("Show hidden toolbar actions"_string));
|
||||
m_overflow_action->set_enabled(false);
|
||||
|
||||
TRY(add_spacer());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue