Revision: 29799
http://sourceforge.net/p/bibdesk/svn/29799
Author: hofman
Date: 2025-11-14 15:13:44 +0000 (Fri, 14 Nov 2025)
Log Message:
-----------
Don't autosave expanded items in file matrcher, it does not happen anyway as it
has no autosavename
Modified Paths:
--------------
trunk/bibdesk/BDSKFileMatcher.m
trunk/bibdesk/Base.lproj/FileMatcher.xib
Modified: trunk/bibdesk/BDSKFileMatcher.m
===================================================================
--- trunk/bibdesk/BDSKFileMatcher.m 2025-11-14 10:40:32 UTC (rev 29798)
+++ trunk/bibdesk/BDSKFileMatcher.m 2025-11-14 15:13:44 UTC (rev 29799)
@@ -120,9 +120,6 @@
[outlineView setStronglyReferencesItems:YES];
- [outlineView setAutosaveExpandedItems:YES];
- [outlineView setAutoresizesOutlineColumn:NO];
-
[outlineView setDoubleAction:@selector(openAction:)];
[outlineView setTarget:self];
[outlineView registerForDraggedTypes:@[(__bridge NSString
*)kUTTypeFileURL, NSFilenamesPboardType]];
@@ -312,17 +309,6 @@
return item;
}
-- (id)outlineView:(NSOutlineView *)ov itemForPersistentObject:(id)object
-{
- return [NSKeyedUnarchiver unarchiveObjectWithData:object];
-}
-
-// return archived item
-- (id)outlineView:(NSOutlineView *)ov persistentObjectForItem:(id)item
-{
- return [NSKeyedArchiver archivedDataWithRootObject:item];
-}
-
#pragma mark Quick Look Panel Support
- (BOOL)acceptsPreviewPanelControl:(QLPreviewPanel *)panel {
Modified: trunk/bibdesk/Base.lproj/FileMatcher.xib
===================================================================
--- trunk/bibdesk/Base.lproj/FileMatcher.xib 2025-11-14 10:40:32 UTC (rev
29798)
+++ trunk/bibdesk/Base.lproj/FileMatcher.xib 2025-11-14 15:13:44 UTC (rev
29799)
@@ -34,7 +34,7 @@
<rect key="frame" x="1" y="1" width="478"
height="281"/>
<autoresizingMask key="autoresizingMask"
widthSizable="YES" heightSizable="YES"/>
<subviews>
- <outlineView verticalHuggingPriority="750"
allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly"
multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="16"
viewBased="YES" indentationPerLevel="16" autoresizesOutlineColumn="YES"
outlineTableColumn="9" id="8" customClass="BDSKOutlineView">
+ <outlineView verticalHuggingPriority="750"
allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly"
multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="16"
viewBased="YES" indentationPerLevel="16" outlineTableColumn="9" id="8"
customClass="BDSKOutlineView">
<rect key="frame" x="0.0" y="0.0"
width="478" height="281"/>
<autoresizingMask key="autoresizingMask"
widthSizable="YES" heightSizable="YES"/>
<constraints>
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