1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:08:12 +00:00

PixelPaint: Use main window's icon in the 'Create new image' widget

This commit is contained in:
Karol Kosek 2021-09-18 13:11:32 +02:00 committed by Andreas Kling
parent bd4f7421cf
commit 65a5d66387

View file

@ -17,6 +17,7 @@ CreateNewImageDialog::CreateNewImageDialog(GUI::Window* parent_window)
: Dialog(parent_window)
{
set_title("Create new image");
set_icon(parent_window->icon());
resize(200, 200);
auto& main_widget = set_main_widget<GUI::Widget>();