Ladybird/Tab: Update history title when tab title changes

This commit is contained in:
Moustafa Raafat 2022-10-03 23:59:08 +01:00 committed by Andrew Kaster
parent a39f0d472a
commit 9854feb263
Notes: sideshowbarker 2024-07-17 16:23:06 +09:00

View File

@ -9,6 +9,7 @@
#include "BrowserWindow.h"
#include "History.h"
#include "Settings.h"
#include "Utilities.h"
#include <QCoreApplication>
#include <QFont>
#include <QFontMetrics>
@ -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));
}