mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
committed by
Andreas Kling
parent
b4381be0ba
commit
f347dd5c5e
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user