#import "PreferencesController.h"
#import "MainController.h"
#import "StatusWindow.h"
-#import "MyTableView.h"
+#import "CustomMenuTableView.h"
#import <ITKit/ITHotKeyCenter.h>
#import <ITKit/ITKeyCombo.h>
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];
}
}