mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Browser: Remove redundant tab::view() call from the tab constructor
This commit is contained in:
parent
20337a34a2
commit
fe9e2f463c
Notes:
sideshowbarker
2024-07-19 17:12:41 +09:00
Author: https://github.com/eddsanity 🔰
Commit: fe9e2f463c
Pull-request: https://github.com/SerenityOS/serenity/pull/10079
Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ Tab::Tab(BrowserWindow& window)
|
||||||
|
|
||||||
auto url = url_from_user_input(m_location_box->text());
|
auto url = url_from_user_input(m_location_box->text());
|
||||||
load(url);
|
load(url);
|
||||||
view();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) {
|
m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue