Revision: 27908 http://sourceforge.net/p/bibdesk/svn/27908 Author: hofman Date: 2022-09-19 09:39:45 +0000 (Mon, 19 Sep 2022) Log Message: ----------- add nneds to generate cite key or file need filing icons only for local publications
Modified Paths: -------------- trunk/bibdesk/BDSKEditor.m Modified: trunk/bibdesk/BDSKEditor.m =================================================================== --- trunk/bibdesk/BDSKEditor.m 2022-09-18 22:56:26 UTC (rev 27907) +++ trunk/bibdesk/BDSKEditor.m 2022-09-19 09:39:45 UTC (rev 27908) @@ -291,8 +291,10 @@ [[tabViewItems objectAtIndex:3] setIdentifier:BDSKRssDescriptionString]; // Update the statusbar message and icons - [self needsToBeFiledDidChange:nil]; - [self updateCiteKeyAutoGenerateStatus]; + if (editorFlags.isEditable) { + [self needsToBeFiledDidChange:nil]; + [self updateCiteKeyAutoGenerateStatus]; + } [self registerForNotifications]; @@ -3558,12 +3560,12 @@ selector:@selector(bibDidChange:) name:BDSKBibItemChangedNotification object:nil]; - [nc addObserver:self - selector:@selector(needsToBeFiledDidChange:) - name:BDSKNeedsToBeFiledChangedNotification - object:publication]; if(editorFlags.isEditable) { [nc addObserver:self + selector:@selector(needsToBeFiledDidChange:) + name:BDSKNeedsToBeFiledChangedNotification + object:publication]; + [nc addObserver:self selector:@selector(bibWasAddedOrRemoved:) name:BDSKDocumentDidAddItemNotification object:[self document]]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit