mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-02 20:36:44 +01:00
Add a call to cdio_get_media_changed in RipCD::CheckCDIOIsValid
This prevents an erroneous message that the media has changed the first time the ripCD dialog is used.
This commit is contained in:
parent
31400f2740
commit
44025dc588
@ -413,6 +413,9 @@ bool RipCD::CheckCDIOIsValid() {
|
||||
cdio_destroy(cdio_);
|
||||
}
|
||||
cdio_ = cdio_open(NULL, DRIVER_UNKNOWN);
|
||||
// Refresh the status of the cd media. This will prevent unnecessary
|
||||
// rebuilds of the track list table.
|
||||
cdio_get_media_changed(cdio_);
|
||||
return (cdio_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user