mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 11:14:39 +00:00
Fix eject for single disc
This commit is contained in:
@@ -1289,6 +1289,9 @@ namespace RedBookPlayer.Models.Hardware
|
||||
/// </summary>
|
||||
private void OpticalDiscStateChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if(_opticalDiscs[CurrentDisc] == null)
|
||||
return;
|
||||
|
||||
ImagePath = _opticalDiscs[CurrentDisc].ImagePath;
|
||||
CurrentTrackNumber = _opticalDiscs[CurrentDisc].CurrentTrackNumber;
|
||||
CurrentTrackIndex = _opticalDiscs[CurrentDisc].CurrentTrackIndex;
|
||||
|
||||
Reference in New Issue
Block a user