Revision: 29069 http://sourceforge.net/p/bibdesk/svn/29069 Author: hofman Date: 2025-02-25 15:48:49 +0000 (Tue, 25 Feb 2025) Log Message: ----------- Do send KVO notifications for hange of displayName
Modified Paths: -------------- trunk/bibdesk/BDSKErrorManager.m trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib Modified: trunk/bibdesk/BDSKErrorManager.m =================================================================== --- trunk/bibdesk/BDSKErrorManager.m 2025-02-25 10:09:15 UTC (rev 29068) +++ trunk/bibdesk/BDSKErrorManager.m 2025-02-25 15:48:49 UTC (rev 29069) @@ -139,6 +139,8 @@ if(document == nil) return; + [self willChangeValueForKey:@"displayName"]; + NSString *name = [document displayName]; [self setDocumentDisplayName:name ?: @"?"]; @@ -149,6 +151,8 @@ uniqueNumber = MAX(uniqueNumber, [manager uniqueNumber] + 1); } + [self didChangeValueForKey:@"displayName"]; + [editors makeObjectsPerformSelector:@selector(updateDisplayName)]; } Modified: trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib =================================================================== --- trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib 2025-02-25 10:09:15 UTC (rev 29068) +++ trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib 2025-02-25 15:48:49 UTC (rev 29069) @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <deployment identifier="macosx"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -21,8 +21,8 @@ <rect key="contentRect" x="57" y="384" width="419" height="157"/> <rect key="screenRect" x="0.0" y="0.0" width="1280" height="775"/> <value key="minSize" type="size" width="360" height="100"/> - <view key="contentView" id="8"> - <rect key="frame" x="0.0" y="0.0" width="419" height="160"/> + <view key="contentView" misplaced="YES" id="8"> + <rect key="frame" x="0.0" y="0.0" width="419" height="157"/> <autoresizingMask key="autoresizingMask"/> <subviews> <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9"> 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