From 9854feb2630cd150ca16b915341b2c53bc6b26f0 Mon Sep 17 00:00:00 2001 From: Moustafa Raafat Date: Mon, 3 Oct 2022 23:59:08 +0100 Subject: [PATCH] Ladybird/Tab: Update history title when tab title changes --- Ladybird/Tab.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ladybird/Tab.cpp b/Ladybird/Tab.cpp index 77efcdf3fd..6527b1f837 100644 --- a/Ladybird/Tab.cpp +++ b/Ladybird/Tab.cpp @@ -9,6 +9,7 @@ #include "BrowserWindow.h" #include "History.h" #include "Settings.h" +#include "Utilities.h" #include #include #include @@ -137,6 +138,7 @@ void Tab::location_edit_return_pressed() void Tab::page_title_changed(QString title) { m_title = title; + m_history.update_title(akstring_from_qstring(m_title)); emit title_changed(tab_index(), std::move(title)); }