Revision: 18088
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18088&view=rev
Author:   hofman
Date:     2011-08-24 17:42:15 +0000 (Wed, 24 Aug 2011)
Log Message:
-----------
add editor tabview instead of replacing the superview

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2011-08-24 17:29:39 UTC (rev 18087)
+++ trunk/bibdesk/BDSKEditor.m  2011-08-24 17:42:15 UTC (rev 18088)
@@ -191,7 +191,7 @@
     // Insert the tabView in the main window
     NSView *view = [[mainSplitView subviews] objectAtIndex:0];
     [[tabView superview] setFrame:[view frame]];
-    [mainSplitView replaceSubview:view with:[tabView superview]];
+    [view addSubview:tabView];
     [(BDSKColoredView *)[mainSplitView superview] setBackgroundColor:[NSColor 
windowBackgroundColor]];
     
     BDSKEdgeView *edgeView = (BDSKEdgeView *)[[[matrix enclosingScrollView] 
superview] superview];

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


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to