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

PixelPaint: Don't allow creating empty layers or images

This commit is contained in:
Andreas Kling 2021-06-15 01:23:50 +02:00
parent 8731bc9ead
commit eb76b18ee3
2 changed files with 4 additions and 4 deletions

View file

@ -64,8 +64,8 @@ CreateNewImageDialog::CreateNewImageDialog(GUI::Window* parent_window)
m_image_size.set_height(value);
};
width_spinbox.set_range(0, 16384);
height_spinbox.set_range(0, 16384);
width_spinbox.set_range(1, 16384);
height_spinbox.set_range(1, 16384);
}
}