diff --git a/AppKit/CPObjectController.j b/AppKit/CPObjectController.j index addc031b9..6bd5102db 100644 --- a/AppKit/CPObjectController.j +++ b/AppKit/CPObjectController.j @@ -192,6 +192,12 @@ */ - (void)setEntityName:(CPString)newEntityName { + if (!_managedProxy) + { + _managedProxy = [[_CPManagedProxy alloc] init]; + _isUsingManagedProxy = YES; + } + [_managedProxy setEntityName:newEntityName]; }