private void OnRemoveLastTag() { if (CurrentTags.Count > 0) { CurrentTags.RemoveAt(CurrentTags.Count - 1); } }
private void OnRemoveLastTag() { if (NewEntry.Tags.Count > 0) { WorkTag temp = NewEntry.Tags[NewEntry.Tags.Count - 1]; NewBook.EntryTags.Remove(temp.Name); NewEntry.Tags.RemoveAt(NewEntry.Tags.Count - 1); CurrentTags.RemoveAt(CurrentTags.Count - 1); } }