diff --git a/SoundCenterClient/src/com/soundcenter/soundcenter/client/gui/actions/MusicTabActions.java b/SoundCenterClient/src/com/soundcenter/soundcenter/client/gui/actions/MusicTabActions.java index 4ac357f..416877d 100644 --- a/SoundCenterClient/src/com/soundcenter/soundcenter/client/gui/actions/MusicTabActions.java +++ b/SoundCenterClient/src/com/soundcenter/soundcenter/client/gui/actions/MusicTabActions.java @@ -38,7 +38,7 @@ public static void listSelectionChanged() { if (song != null) { if (song.getOwner().equalsIgnoreCase(Client.userName) - || Client.database.permissionGranted("sc.delete.others")) { + || Client.database.permissionGranted("sc.others.delete")) { App.gui.musicTab.deleteButton.setEnabled(true); } else { App.gui.musicTab.deleteButton.setEnabled(false);