mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:37:35 +00:00
PixelPaint: Make "Add Mask" action undoable
This commit is contained in:
parent
f1a792e6c9
commit
b548a7b5ea
1 changed files with 1 additions and 0 deletions
|
@ -747,6 +747,7 @@ ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window)
|
||||||
if (!active_layer)
|
if (!active_layer)
|
||||||
return;
|
return;
|
||||||
active_layer->create_mask();
|
active_layer->create_mask();
|
||||||
|
editor->did_complete_action("Add Mask");
|
||||||
editor->update();
|
editor->update();
|
||||||
m_layer_list_widget->repaint();
|
m_layer_list_widget->repaint();
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue