public void RemoveLabel(TorrentLabel label) { if (label.Name != null) { label.RefreshCount(); if (label.Count != 0) { label.UnregisterAll(); } this.Labels.Remove(label); Labels[0].RefreshCount(); } }
public void RemoveLabel(TorrentLabel label) { if (label.Name != null) { label.RefreshCount(); if (label.Count != 0) label.UnregisterAll(); this.Labels.Remove(label); Labels[0].RefreshCount(); } }