Remove uneeded calls to orderOut: and setDelegate: as this is done in the close method

This commit is contained in:
Gregory John Casamento 2023-10-08 06:23:26 -04:00
parent a4beb1266f
commit 2ac57c147f

View file

@ -88,6 +88,7 @@
{
[super setContentView: AUTORELEASE([[GSPopoverView alloc]
initWithFrame: contentRect])];
[self setReleasedWhenClosed: YES];
}
return self;
}
@ -231,16 +232,12 @@
- (void) close
{
[_realPanel close];
[_realPanel setDelegate:nil];
[_realPanel orderOut: nil];
_shown = NO;
}
- (IBAction) performClose: (id)sender
{
[_realPanel performClose: sender];
[_realPanel setDelegate: nil];
[_realPanel orderOut: nil];
_shown = NO;
}