1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:05:08 +00:00

LibGUI: Rename Action::long_text to Action::status_tip

This feels a bit more descriptive.
This commit is contained in:
Andreas Kling 2021-04-18 00:17:04 +02:00
parent aa254ffd66
commit a2086ad56e
4 changed files with 12 additions and 12 deletions

View file

@ -276,7 +276,7 @@ TextEditorWidget::TextEditorWidget()
m_statusbar = *find_descendant_of_type_named<GUI::Statusbar>("statusbar");
GUI::Application::the()->on_action_enter = [this](GUI::Action& action) {
auto text = action.long_text();
auto text = action.status_tip();
if (text.is_empty())
text = Gfx::parse_ampersand_string(action.text());
m_statusbar->set_override_text(move(text));