Files
ladybird/Userland/Applications/PixelPaint/MainWidget.cpp
Felix Rauch 183a2ec8bd PixelPaint: Create an empty layer when the last layer is removed
Previously, when the last layer got deleted, the active layer was
set to nullptr, causing a crash.

Now, we create a new transparent background layer with the image
dimensions instead.
2021-10-16 18:10:11 +01:00

35 KiB