diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index b3111914e..691a811dd 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -1160,8 +1160,8 @@ int CellBuffer::UndoSavePoint() const noexcept { return uh->SavePoint(); } -void CellBuffer::SetUndoCurrent(int action) noexcept { - uh->SetCurrent(action); +void CellBuffer::SetUndoCurrent(int action) { + uh->SetCurrent(action, Length()); } int CellBuffer::UndoCurrent() const noexcept { |