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
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());
}