diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2021-10-07 02:12:14 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-07 12:19:27 +0200 |
commit | da804d95f7d137b10fef0a42b746f13c807a1aa9 (patch) | |
tree | 2f28310960c19bf888c818d20172587313b61eb8 /Userland/Applications/Browser | |
parent | e1684860a344af3971348c295c14c55b90bfbdd4 (diff) | |
download | serenity-da804d95f7d137b10fef0a42b746f13c807a1aa9.zip |
Browser: Use reorderable tabs
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r-- | Userland/Applications/Browser/BrowserWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp index 834f3ca627..824ee735c3 100644 --- a/Userland/Applications/Browser/BrowserWindow.cpp +++ b/Userland/Applications/Browser/BrowserWindow.cpp @@ -61,6 +61,7 @@ BrowserWindow::BrowserWindow(CookieJar& cookie_jar, URL url) auto& top_line = *widget.find_descendant_of_type_named<GUI::HorizontalSeparator>("top_line"); m_tab_widget = *widget.find_descendant_of_type_named<GUI::TabWidget>("tab_widget"); + m_tab_widget->set_reorder_allowed(true); m_tab_widget->set_close_button_enabled(true); m_tab_widget->on_tab_count_change = [&top_line](size_t tab_count) { |