Use the clear action to stop the internet radio

This commit is contained in:
François-Xavier Thomas
2019-07-02 23:00:03 +02:00
parent 19082afc11
commit 86510a4d42
2 changed files with 2 additions and 1 deletions
@@ -226,6 +226,8 @@ public class PlayQueue {
public synchronized void clear() {
makeBackup();
files.clear();
setRandomSearchCriteria(null);
setInternetRadio(null);
index = 0;
}
@@ -504,7 +504,6 @@
$("select#moreActions #removeSelected").prop("disabled", internetRadioEnabled);
$("select#moreActions #download").prop("disabled", internetRadioEnabled);
$("select#moreActions #appendPlaylist").prop("disabled", internetRadioEnabled);
$("#clearQueue").toggleLink(!internetRadioEnabled);
$("#shuffleQueue").toggleLink(!internetRadioEnabled);
$("#repeatQueue").toggleLink(!internetRadioEnabled);
$("#undoQueue").toggleLink(!internetRadioEnabled);