diff --git a/代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/dialog/PreferencesSoundOptionsTab.java b/代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/dialog/PreferencesSoundOptionsTab.java index d41274b..3d0a112 100644 --- a/代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/dialog/PreferencesSoundOptionsTab.java +++ b/代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/dialog/PreferencesSoundOptionsTab.java @@ -329,6 +329,7 @@ public class PreferencesSoundOptionsTab extends WizardPanel { public void actionPerformed(ActionEvent e) { Object src = e.getSource(); + if (src == enableAllSoundsButton) { setAllSoundsButtonsEnabled(true); } else if (src == disableAllSoundsButton) {