Merge pull request #4365 from paperbagcorner/empty-riplist
Don't start ripping unless the user has selected some tracks
This commit is contained in:
commit
87af0ef839
|
@ -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);
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue