From: <ho...@us...> - 2007-02-09 00:11:17
|
Revision: 9609 http://svn.sourceforge.net/bibdesk/?rev=9609&view=rev Author: hofman Date: 2007-02-08 16:11:17 -0800 (Thu, 08 Feb 2007) Log Message: ----------- Don't release navigation window when closed. Hopefully this fixes a crasher, as -close is called when the app terminates. Modified Paths: -------------- skim/SKNavigationWindow.m Modified: skim/SKNavigationWindow.m =================================================================== --- skim/SKNavigationWindow.m 2007-02-09 00:08:51 UTC (rev 9608) +++ skim/SKNavigationWindow.m 2007-02-09 00:11:17 UTC (rev 9609) @@ -29,6 +29,7 @@ [self setBackgroundColor:[NSColor clearColor]]; [self setOpaque:NO]; [self setDisplaysWhenScreenProfileChanges:YES]; + [self setReleasedWhenClosed:NO]; [self setLevel:[[pdfView window] level]]; [self setContentView:[[[SKNavigationContentView alloc] init] autorelease]]; @@ -172,6 +173,7 @@ [self setBackgroundColor:[NSColor clearColor]]; [self setOpaque:NO]; [self setDisplaysWhenScreenProfileChanges:YES]; + [self setReleasedWhenClosed:NO]; toolTipView = [[[SKNavigationToolTipView alloc] init] autorelease]; [[self contentView] addSubview:toolTipView]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |