1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00

Applications: Use "Document - AppName" window title format

Fixes #1444
This commit is contained in:
Tibor Nagy 2020-03-13 23:21:35 +01:00 committed by Andreas Kling
parent b4381be0ba
commit f347dd5c5e
Notes: sideshowbarker 2024-07-19 08:19:17 +09:00
10 changed files with 10 additions and 10 deletions

View file

@ -467,10 +467,10 @@ void TextEditorWidget::set_path(const FileSystemPath& file)
void TextEditorWidget::update_title()
{
StringBuilder builder;
builder.append("Text Editor: ");
builder.append(m_path);
if (m_document_dirty)
builder.append(" (*)");
builder.append(" - Text Editor");
window()->set_title(builder.to_string());
}