Remove obsolete code causing exceptions on deletion

This commit is contained in:
Royce551 2022-05-22 06:54:03 -05:00
parent 8902c3de67
commit 181085ea1b

View file

@ -74,7 +74,6 @@ namespace FRESHMusicPlayer.Pages.Library
private void DeleteButtonClick(object sender, MouseButtonEventArgs e)
{
library.Remove(FilePath);
((ListBox)Parent).Items.Remove(this);
}
private async void UserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)