diff --git a/Userland/Applications/SpaceAnalyzer/main.cpp b/Userland/Applications/SpaceAnalyzer/main.cpp index 8968dc463b..a6039397c8 100644 --- a/Userland/Applications/SpaceAnalyzer/main.cpp +++ b/Userland/Applications/SpaceAnalyzer/main.cpp @@ -58,6 +58,12 @@ ErrorOr serenity_main(Main::Arguments arguments) auto& breadcrumbbar = *main_widget->find_descendant_of_type_named("breadcrumbbar"); auto& tree_map_widget = *main_widget->find_descendant_of_type_named("tree_map"); auto& statusbar = *main_widget->find_descendant_of_type_named("statusbar"); + GUI::Application::the()->on_action_enter = [&statusbar](GUI::Action& action) { + statusbar.set_override_text(action.status_tip()); + }; + GUI::Application::the()->on_action_leave = [&statusbar](GUI::Action&) { + statusbar.set_override_text({}); + }; tree_map_widget.set_focus(true);