Fixed crash when undo is called on a TextBox with no changes.
@ -37,7 +37,7 @@ namespace Avalonia.Controls.Utils
public void Undo()
{
if (_currentNode != null)
if (_currentNode?.Previous != null)
_currentNode = _currentNode.Previous;
}