diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CellBuffer.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index be018bbd6..14b2e3212 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -1397,7 +1397,7 @@ void CellBuffer::PerformRedoStep() {  void CellBuffer::ChangeHistorySet(bool set) {  	if (set) { -		if (!changeHistory) { +		if (!changeHistory && !uh.CanUndo()) {  			changeHistory = std::make_unique<ChangeHistory>(Length());  		}  	} else { | 
