2509051211

刪除功能問題修正
This commit is contained in:
jasonchenwork 2025-09-05 12:12:29 +08:00
parent 3305f348fd
commit bca39d98e2
2 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,7 @@ namespace DBObj
public static void Cancel(SongData song) public static void Cancel(SongData song)
{ {
if (song.GetState() == PlayState.NotPlayed) if (song.GetState() == PlayState.NotPlayed||song.GetState() ==PlayState.InsertPlayback)
{ {
not_played.Remove(song); not_played.Remove(song);
song.SetState(PlayState.Skipped); song.SetState(PlayState.Skipped);

View File

@ -121,6 +121,7 @@ namespace DualScreenDemo
{ {
SetVodScreenPictureBoxAndButtonsVisibility(false); SetVodScreenPictureBoxAndButtonsVisibility(false);
SongList.Insert(currentSelectedSong); SongList.Insert(currentSelectedSong);
if (isOnOrderedSongsPage) orderedSongsButton.PerformClick();
} }
private void AlbumButton_Click(object sender, EventArgs e) private void AlbumButton_Click(object sender, EventArgs e)