Fix the rest of the issues mentioned in savannah bug#25310

This commit is contained in:
Gregory John Casamento 2021-12-09 01:31:19 -05:00
parent 214583b518
commit ca58e9480c
2 changed files with 11 additions and 3 deletions

View file

@ -57,6 +57,7 @@
NSPasteboard *dragPb;
NSString *dragType;
}
- (BOOL) acceptsTypeFromArray: (NSArray*)types;
- (BOOL) activate;
- (id) initWithObject: (id)anObject inDocument: (id<IBDocuments>)aDocument;
@ -78,6 +79,7 @@
- (void) validateEditing;
- (BOOL) wantsSelection;
- (NSWindow*) window;
@end
@interface GormMenuEditor (Private)
@ -1104,6 +1106,8 @@ static BOOL done_editing;
[[editField currentEditor] resignFirstResponder];
[self setNeedsDisplay: YES];
[[self document] touch];
return e;
}
@end

View file

@ -179,13 +179,17 @@
- (id) init
{
if ([super init] == nil)
return nil;
if ([NSBundle loadNibNamed: @"GormMenuItemAttributesInspector" owner: self] == NO)
{
return nil;
}
if ([NSBundle loadNibNamed: @"GormMenuItemAttributesInspector"
owner: self] == NO)
{
NSLog(@"Could not gorm GormMenuItemAttributesInspector");
return nil;
}
return self;
}