Don't start ripping unless the user has selected some tracks.
This commit is contained in:
parent
1f97406171
commit
0c76ca3c45
@ -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…
x
Reference in New Issue
Block a user