Revision: 11894
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11894&view=rev
Author: amaxwell
Date: 2007-12-12 22:11:07 -0800 (Wed, 12 Dec 2007)
Log Message:
-----------
fix exception
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2007-12-13 05:25:52 UTC (rev 11893)
+++ trunk/bibdesk/BDSKEditor.m 2007-12-13 06:11:07 UTC (rev 11894)
@@ -2389,7 +2389,7 @@
return dragFieldEditor;
}
-- (void)shouldCloseSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode
contextInfo:(void *)contextInfo{
+- (void)shouldCloseAlertDidEnd:(NSAlert *)alert returnCode:(int)returnCode
contextInfo:(void *)contextInfo{
switch (returnCode){
case NSAlertOtherReturn:
break; // do nothing
@@ -2397,7 +2397,7 @@
[[publication retain] autorelease]; // make sure it stays around
till we're closed
[[self document] removePublication:publication]; // now fall
through to default
default:
- [sheet orderOut:nil];
+ [[alert window] orderOut:nil];
[self close];
}
}
@@ -2443,7 +2443,7 @@
informativeTextWithFormat:errMsg];
[alert beginSheetModalForWindow:[self window]
modalDelegate:self
-
didEndSelector:@selector(shouldCloseSheetDidEnd:returnCode:contextInfo:)
+
didEndSelector:@selector(shouldCloseAlertDidEnd:returnCode:contextInfo:)
contextInfo:NULL];
return NO; // this method returns before the callback
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit