mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
PixelPaint: Set title of default image to 'Untitled'
This commit is contained in:
parent
44bcd7c7aa
commit
e02579bdab
1 changed files with 1 additions and 0 deletions
|
@ -796,6 +796,7 @@ void MainWidget::create_default_image()
|
|||
m_layer_list_widget->set_image(image);
|
||||
|
||||
auto& editor = create_new_editor(*image);
|
||||
editor.set_title("Untitled");
|
||||
editor.set_active_layer(bg_layer);
|
||||
editor.undo_stack().set_current_unmodified();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue