PixelPaint: Invoke the modified_change callback when layers change

This propagates layer edits as well as undo stack operations to whoever
needs to perform updates when the image changes.
This commit is contained in:
kleines Filmröllchen 2022-08-17 12:15:18 +02:00 committed by Linus Groh
parent fe88fd22fa
commit e6f20f27d8
Notes: sideshowbarker 2024-07-17 07:32:24 +09:00

View file

@ -488,6 +488,8 @@ void ImageEditor::set_pixel_grid_visibility(bool show_pixel_grid)
void ImageEditor::layers_did_change()
{
if (on_modified_change)
on_modified_change(true);
update();
}