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
1 changed files with 4 additions and 0 deletions

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);
{