diff --git a/modules/paint/paint_window.cpp b/modules/paint/paint_window.cpp index 37f593df4..67228e3f5 100644 --- a/modules/paint/paint_window.cpp +++ b/modules/paint/paint_window.cpp @@ -659,8 +659,8 @@ void PaintWindow::undo_action() { return; } - Ref action = _redo_history[0]; - _redo_history.remove(0); + Ref action = _actions_history[0]; + _actions_history.remove(0); if (!action.is_valid()) { return;