1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-05 14:28:40 +01:00

Merge pull request #4365 from paperbagcorner/empty-riplist

Don't start ripping unless the user has selected some tracks
This commit is contained in:
John Maguire 2014-05-21 17:26:03 +01:00
commit 87af0ef839

View File

@ -315,6 +315,10 @@ void RipCD::ClickedRipButton() {
AddTrack(i, title, transcoded_filename);
}
// Do nothing if no tracks are selected.
if (tracks_.isEmpty())
return;
// Start ripping.
SetWorking(true);
{