X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/06957bb412305361a6668e12c22481c16cc16886..972a8ad14238df49d5ac835345cb6a871b1e5c17:/PreferencesController.m diff --git a/PreferencesController.m b/PreferencesController.m index 8849759..c2af444 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -429,12 +429,19 @@ static PreferencesController *prefs = nil; int selRow = [tableView selectedRow]; if (selRow != - 1) { NSString *object = [myItems objectAtIndex:selRow]; + + if ([object isEqualToString:@"preferences"]) { + NSBeep(); + return; + } + if (![object isEqualToString:@"separator"]) [availableItems addObject:object]; [myItems removeObjectAtIndex:selRow]; [menuTableView reloadData]; [allTableView reloadData]; } + [self changeMenus:self]; } }