music: fix channel mute op name

This commit is contained in:
Max Weber
2020-12-22 04:09:23 -07:00
parent 175f436f48
commit 74a881d3a9

View File

@@ -573,7 +573,7 @@ public class MusicPlugin extends Plugin
// emulate [proc,settings_update_icon]
boolean unmuted = val != 0;
icon.getChild(1).setHidden(unmuted);
icon.setAction(0, unmuted ? "Unmute" : "Mute");
icon.setAction(0, unmuted ? "Mute" : "Unmute");
// Set name + no tooltip; we have our own for ops
icon.setName(channel.getName());
icon.setOnMouseRepeatListener((Object[]) null);