Revision: 26881 http://sourceforge.net/p/bibdesk/svn/26881 Author: hofman Date: 2021-09-15 09:10:43 +0000 (Wed, 15 Sep 2021) Log Message: ----------- Expansion tool tips and truncate tail in person wiondow. No need to update publications, this is done automatically from binding, and no new information is used.
Modified Paths: -------------- trunk/bibdesk/BDSKPersonController.m trunk/bibdesk/Base.lproj/BDSKPersonWindow.xib Modified: trunk/bibdesk/BDSKPersonController.m =================================================================== --- trunk/bibdesk/BDSKPersonController.m 2021-09-15 06:30:31 UTC (rev 26880) +++ trunk/bibdesk/BDSKPersonController.m 2021-09-15 09:10:43 UTC (rev 26881) @@ -158,8 +158,6 @@ sortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"length" ascending:NO selector:@selector(compare:)] autorelease]; [nameArrayController setSortDescriptors:[NSArray arrayWithObjects:sortDescriptor, nil]]; - [self updatePublicationItems]; - [publicationTableView reloadData]; [nameTableView selectAll:self]; [fieldTableView selectAll:self]; } @@ -206,8 +204,7 @@ } - (void)updatePublicationItems{ - if (publicationItems) - [publicationItems release]; + [publicationItems release]; publicationItems = [[NSMutableArray alloc] init]; NSMutableSet *theNames = [NSMutableSet set]; Modified: trunk/bibdesk/Base.lproj/BDSKPersonWindow.xib =================================================================== --- trunk/bibdesk/Base.lproj/BDSKPersonWindow.xib 2021-09-15 06:30:31 UTC (rev 26880) +++ trunk/bibdesk/Base.lproj/BDSKPersonWindow.xib 2021-09-15 09:10:43 UTC (rev 26881) @@ -112,9 +112,9 @@ <rect key="frame" x="11" y="1" width="388" height="16"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="avf-j7-Hma"> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="avf-j7-Hma"> <rect key="frame" x="0.0" y="1" width="388" height="15"/> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="m06-03-uzR"> + <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="m06-03-uzR"> <font key="font" metaFont="cellTitle"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> 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