diff --git a/Applications/PixelPaint/main.cpp b/Applications/PixelPaint/main.cpp index bdc59b0cdc2..e44c642a3a8 100644 --- a/Applications/PixelPaint/main.cpp +++ b/Applications/PixelPaint/main.cpp @@ -184,6 +184,7 @@ int main(int argc, char** argv) if (!active_layer) return; image_editor.image()->remove_layer(*active_layer); + image_editor.set_active_layer(nullptr); }, window));