Revision: 28805
          http://sourceforge.net/p/bibdesk/svn/28805
Author:   hofman
Date:     2024-02-23 14:36:48 +0000 (Fri, 23 Feb 2024)
Log Message:
-----------
register for notifications later

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2024-02-23 14:01:01 UTC (rev 28804)
+++ trunk/bibdesk/BibDocument.m 2024-02-23 14:36:48 UTC (rev 28805)
@@ -330,8 +330,6 @@
     // this is the controller for the main window
     [aController setShouldCloseDocument:YES];
     
-    [self registerForNotifications];
-    
     NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
     
     docFlags.intersectGroups = [sud boolForKey:BDSKIntersectGroupsKey];
@@ -536,6 +534,8 @@
     [documentWindow recalculateKeyViewLoop];
     [documentWindow makeFirstResponder:tableView];
     
+    [self registerForNotifications];
+    
     [self startObserving];
     
     NSArray *groupsToExpand = [self 
objectForSetupKey:BDSKDocumentGroupsToExpandKey defaultValue:nil];

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