Revision: 29187
http://sourceforge.net/p/bibdesk/svn/29187
Author: hofman
Date: 2025-04-24 15:23:18 +0000 (Thu, 24 Apr 2025)
Log Message:
-----------
remove all subviews that are not one of the display views
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-24
14:51:36 UTC (rev 29186)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-24
15:23:18 UTC (rev 29187)
@@ -516,7 +516,7 @@
_titleCell = [coder decodeObjectForKey:@"titleCell"];
_subtitleCell = [coder decodeObjectForKey:@"subtitleCell"];
for (NSView *view in [[self subviews] copy]) {
- if ([view class] == [NSButton class])
+ if (view != _backgroundView && view != _highlightView && view !=
_contentView)
[view removeFromSuperview];
}
[self _commonInit];
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