Browse Source

Merge pull request #673 from yusuf-gunaydin/issue-666

Fixed crash when redo is called on a TextBox with no redoable change #666
pull/676/head
Steven Kirk 10 years ago
committed by GitHub
parent
commit
4dbdd3949e
  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