do not attempt to redo past the last available operation
This commit is contained in:
1 parent
089d63f337
commit
f1815d04d9
1 file changed
+1
-1
+1
-1
@@ -409,7 +409,7 @@ void Buffer::redo()
|
||||
child_index = 0u;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (m_change_operations[m_current_change_operation_index]->children.size() > 0u)
|
||||
{
|
||||
child_index = *m_change_operations[m_current_change_operation_index]->children.begin();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user