Commit 9a5a83fb authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Jean-Baptiste Kempf

macosx: don't remove default audio profile

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent e3b9aaa2
......@@ -447,6 +447,11 @@
if (!selectedIndex) { // TODO: add popup to notify user
[_profilePopup selectItemAtIndex:[defaults integerForKey:@"AudioEffectSelectedProfile"]];
/* remove selected profile from settings */
NSMutableArray *workArray = [[NSMutableArray alloc] initWithArray:[defaults objectForKey:@"AudioEffectProfiles"]];
[workArray removeObjectAtIndex:selectedIndex];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment