1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

Browser: Display search engine format in statusbar

This commit is contained in:
Maciej Zygmanowski 2021-04-29 08:57:13 +02:00 committed by Andreas Kling
parent 2de0ff28dd
commit 1460c93651

View file

@ -420,9 +420,11 @@ Tab::Tab(Type type)
this); this);
search_engine_menu.add_action(action); search_engine_menu.add_action(action);
m_search_engine_actions.add_action(action); m_search_engine_actions.add_action(action);
if (g_search_engine == url_format) { if (g_search_engine == url_format) {
action->set_checked(true); action->set_checked(true);
} }
action->set_status_tip(url_format);
}; };
auto disable_search_engine_action = GUI::Action::create_checkable( auto disable_search_engine_action = GUI::Action::create_checkable(