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:
parent
aa254ffd66
commit
a2086ad56e
4 changed files with 12 additions and 12 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue