Revision: 13036
          http://sourceforge.net/p/skim-app/code/13036
Author:   hofman
Date:     2022-07-20 14:26:16 +0000 (Wed, 20 Jul 2022)
Log Message:
-----------
make sure old subviews are not duplicated

Modified Paths:
--------------
    trunk/SKThumbnailView.m

Modified: trunk/SKThumbnailView.m
===================================================================
--- trunk/SKThumbnailView.m     2022-07-20 09:35:12 UTC (rev 13035)
+++ trunk/SKThumbnailView.m     2022-07-20 14:26:16 UTC (rev 13036)
@@ -103,6 +103,7 @@
 - (id)initWithCoder:(NSCoder *)coder {
     self = [super initWithCoder:coder];
     if (self) {
+        [[[[self subviews] copy] autorelease] 
makeObjectsPerformSelector:@selector(removeFromSuperview)];
         [self commonInit];
     }
     return self;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to