summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2021-10-07 02:12:14 -0600
committerAndreas Kling <kling@serenityos.org>2021-10-07 12:19:27 +0200
commitda804d95f7d137b10fef0a42b746f13c807a1aa9 (patch)
tree2f28310960c19bf888c818d20172587313b61eb8 /Userland/Applications/Browser
parente1684860a344af3971348c295c14c55b90bfbdd4 (diff)
downloadserenity-da804d95f7d137b10fef0a42b746f13c807a1aa9.zip
Browser: Use reorderable tabs
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/BrowserWindow.cpp1
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) {