X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=ConfigsController.m;h=b4db790889fb9118a80b8aeec634631e463f3286;hp=769fabde56158060e5951f2108e324a6d3660b40;hb=60710a84810cfbfa39ada9a9e44f61ceb2f144c5;hpb=15a3aec049658f4a1c3c6e8c9f8a549fb8de0782 diff --git a/ConfigsController.m b/ConfigsController.m index 769fabd..b4db790 100644 --- a/ConfigsController.m +++ b/ConfigsController.m @@ -48,9 +48,8 @@ return; manualConfig = config; _currentConfig = config; - [targetController reset]; [removeButton setEnabled:_configs[0] != config]; - [targetController load]; + [targetController loadCurrent]; [(ApplicationController *)[[NSApplication sharedApplication] delegate] configChanged]; [tableView selectRowIndexes:[NSIndexSet indexSetWithIndex:[_configs indexOfObject:config]] byExtendingSelection:NO]; } @@ -91,7 +90,6 @@ - (void)tableView:(NSTableView *)view setObjectValue:(NSString *)obj forTableColumn:(NSTableColumn *)col row:(int)index { [(Config *)_configs[index] setName:obj]; - [targetController refreshConfigsPreservingSelection:YES]; [tableView reloadData]; [(ApplicationController *)[[NSApplication sharedApplication] delegate] configsChanged]; }