public void UpdateList() { if (currentplaylist == null) { return; } currentplaylist.Clear(); foreach (var item in PlayListCollection) { currentplaylist.Add(item.Directory.FullName); } HasChanges = false; }