PixelPaint: Set title of default image to 'Untitled'

This commit is contained in:
cflip 2022-05-01 22:21:16 -06:00 committed by Andreas Kling
commit e02579bdab
Notes: sideshowbarker 2024-07-17 11:23:21 +09:00

View file

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