Browse Source
Merge pull request #1496 from achal7/master
fix of issue 1479
pull/1514/head
Steven Kirk
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/Avalonia.Controls/Utils/UndoRedoHelper.cs
|
|
|
@ -59,7 +59,7 @@ namespace Avalonia.Controls.Utils |
|
|
|
|
|
|
|
public void UpdateLastState() |
|
|
|
{ |
|
|
|
_states.Last.Value = _host.UndoRedoState; |
|
|
|
UpdateLastState(_host.UndoRedoState); |
|
|
|
} |
|
|
|
|
|
|
|
public void DiscardRedo() |
|
|
|
@ -94,6 +94,7 @@ namespace Avalonia.Controls.Utils |
|
|
|
public void Clear() |
|
|
|
{ |
|
|
|
_states.Clear(); |
|
|
|
_currentNode = null; |
|
|
|
} |
|
|
|
|
|
|
|
bool WeakTimer.IWeakTimerSubscriber.Tick() |
|
|
|
|