mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Ladybird/Tab: Update history title when tab title changes
This commit is contained in:
parent
a39f0d472a
commit
9854feb263
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue