private void CancelEditCurrentCustomTarget() { if (EditCustomTarget != null) { EditCustomTarget.RollBack(); IsCustomTargetEditor = false; EditCustomTarget = null; } CustomTargets.Remove(CurrentCustomTarget); }
private void EditCurrentCustomTarget() { IsCustomTargetEditor = true; EditCustomTarget = CurrentCustomTarget; EditCustomTarget.RollBack(); }