mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 02:41:48 -05:00
Remove obsolete code causing exceptions on deletion
This commit is contained in:
parent
8902c3de67
commit
181085ea1b
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue