diff --git a/modules/paint/paint_window.cpp b/modules/paint/paint_window.cpp index 47b7eb049..72de088b8 100644 --- a/modules/paint/paint_window.cpp +++ b/modules/paint/paint_window.cpp @@ -609,6 +609,7 @@ void PaintWindow::commit_action() { //print("commit action") _current_action->commit_action(paint_canvas); Ref action = _current_action->duplicate(true); + action->layer = _current_action->layer; _actions_history.push_back(action); _redo_history.clear();