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:
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
Block a user