mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -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)
|
private void DeleteButtonClick(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
library.Remove(FilePath);
|
library.Remove(FilePath);
|
||||||
((ListBox)Parent).Items.Remove(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void UserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
private async void UserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
||||||
|
|
Loading…
Reference in a new issue