Преглед изворни кода

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

Karol Kosek пре 3 година
родитељ
комит
65a5d66387
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Userland/Applications/PixelPaint/CreateNewImageDialog.cpp

+ 1 - 0
Userland/Applications/PixelPaint/CreateNewImageDialog.cpp

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