diff --git a/Userland/Applications/PixelPaint/CreateNewImageDialog.cpp b/Userland/Applications/PixelPaint/CreateNewImageDialog.cpp index 51aa608c3c..3d8d925293 100644 --- a/Userland/Applications/PixelPaint/CreateNewImageDialog.cpp +++ b/Userland/Applications/PixelPaint/CreateNewImageDialog.cpp @@ -65,6 +65,10 @@ CreateNewImageDialog::CreateNewImageDialog(GUI::Window* parent_window) m_image_size.set_height(value); }; + m_name_textbox->on_return_pressed = [this] { + done(ExecOK); + }; + width_spinbox.set_range(1, 16384); height_spinbox.set_range(1, 16384);