public UndoSequence EndSequence(string title, bool reverse = false)
        {
            UndoSequence uso = _framework.EndSequence(title, reverse);

            OnPropertyChanged(nameof(UndoTitle));
            return(uso);
        }
Exemplo n.º 2
0
 public UndoSequence EndSequence(string title, bool reverse = false)
 {
     if (_undoStacks.Count > 0 && IsEnabled)
     {
         UndoSequence uso = new UndoSequence(title, _undoStack, reverse);
         _undoStack = _undoStacks.Pop();
         _undoStack.Push(uso);
         return(uso);
     }
     return(null);
 }