Revision: 27891
          http://sourceforge.net/p/bibdesk/svn/27891
Author:   hofman
Date:     2022-09-15 16:48:11 +0000 (Thu, 15 Sep 2022)
Log Message:
-----------
make sure status bar was set up before getting frame of action button

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2022-09-15 14:41:53 UTC (rev 27890)
+++ trunk/bibdesk/BDSKEditor.m  2022-09-15 16:48:11 UTC (rev 27891)
@@ -209,6 +209,7 @@
     
     // Setup the statusbar
     [statusBar retain];
+    [statusBar layoutSubtreeIfNeeded];
        [statusBar setDelegate:self];
     [statusBar setLeftMargin:NSMaxX([actionButton frame]) + 5.0];
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKShowEditorStatusBarKey] == NO)

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to