Revision: 15209
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15209&view=rev
Author:   hofman
Date:     2009-04-27 11:38:34 +0000 (Mon, 27 Apr 2009)

Log Message:
-----------
Remove overlay when parent window closes, rather than just ordering out. 
Closing a child window is bad.

Modified Paths:
--------------
    trunk/bibdesk/BDSKOverlayWindow.m

Modified: trunk/bibdesk/BDSKOverlayWindow.m
===================================================================
--- trunk/bibdesk/BDSKOverlayWindow.m   2009-04-27 11:09:45 UTC (rev 15208)
+++ trunk/bibdesk/BDSKOverlayWindow.m   2009-04-27 11:38:34 UTC (rev 15209)
@@ -74,7 +74,7 @@
 }
 
 - (void)parentWindowWillClose:(NSNotification *)notification {
-       [self orderOut:nil];
+    [self remove];
 }
 
 - (void)orderFront:(id)sender{
@@ -169,7 +169,7 @@
 }
 
 - (void)parentWindowWillClose:(NSNotification *)notification {
-       [self orderOut:nil];
+    [self remove];
 }
 
 - (void)overlayView:(NSView *)aView {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to