Fix issue with class instantiation

This commit is contained in:
Gregory John Casamento 2021-05-04 04:57:32 -04:00
parent 9a8bed57ff
commit 405c345ab1

View file

@ -540,14 +540,14 @@ static NSImage *fileImage = nil;
{ {
NSArray *old; NSArray *old;
BOOL newObject = NO; BOOL newObject = NO;
/*
if ([self containsObject: anObject] && if ([self containsObject: anObject] &&
[anObject isKindOfClass: [NSWindow class]] == NO && [anObject isKindOfClass: [NSWindow class]] == NO &&
[anObject isKindOfClass: [NSPanel class]] == NO) [anObject isKindOfClass: [NSPanel class]] == NO)
{ {
return; return;
} }
*/
// Modify the document whenever something is added... // Modify the document whenever something is added...
[self touch]; [self touch];