Browse Source

Fixed crash when redo is called on a TextBox with no redoable change. #666

pull/673/head
yusuf-gunaydin 10 years ago
parent
commit
4f2f8f555f
  1. 2
      src/Avalonia.Controls/Utils/UndoRedoHelper.cs

2
src/Avalonia.Controls/Utils/UndoRedoHelper.cs

@ -68,7 +68,7 @@ namespace Avalonia.Controls.Utils
public void Redo()
{
if (_currentNode != null) {
if (_currentNode?.Next != null) {
_currentNode = _currentNode.Next;
}

Loading…
Cancel
Save