1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

Browser: Remove redundant tab::view() call from the tab constructor

This commit is contained in:
Eyad Hossam 2021-09-17 02:38:12 +02:00 committed by Idan Horowitz
parent 20337a34a2
commit fe9e2f463c

View file

@ -132,7 +132,6 @@ Tab::Tab(BrowserWindow& window)
auto url = url_from_user_input(m_location_box->text());
load(url);
view();
};
m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) {