summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-05-01 22:21:16 -0600
committerAndreas Kling <kling@serenityos.org>2022-05-02 12:43:46 +0200
commite02579bdab93671c86e68a9bbb8223db020bd987 (patch)
tree9eea88402454aa0bf8ebc3547896ab6bccc66e11 /Userland
parent44bcd7c7aa9af41b57d44fe532b1047191c383de (diff)
downloadserenity-e02579bdab93671c86e68a9bbb8223db020bd987.zip
PixelPaint: Set title of default image to 'Untitled'
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/PixelPaint/MainWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp
index 27c52473c1..70538a5c60 100644
--- a/Userland/Applications/PixelPaint/MainWidget.cpp
+++ b/Userland/Applications/PixelPaint/MainWidget.cpp
@@ -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();
}