Browse Source

workaround for a crash when dragging a file out of a folder

Carola Nitz 11 years ago
parent
commit
2185a37f40
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Sources/VLCPlaylistViewController.m

+ 0 - 2
Sources/VLCPlaylistViewController.m

@@ -227,7 +227,6 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
                 }
                 _reorderLayout = [[LXReorderableCollectionViewFlowLayout alloc] init];
                 [self.collectionView setCollectionViewLayout:_reorderLayout animated:NO];
-                _folderLayout = nil;
             }
         }
         _foundMedia = [NSMutableArray arrayWithArray:[folder sortedFolderItems]];
@@ -977,7 +976,6 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
             }
             _folderLayout = [[VLCFolderCollectionViewFlowLayout alloc] init];
             [self.collectionView setCollectionViewLayout:_folderLayout animated:NO];
-            _reorderLayout = nil;
             [_collectionView addGestureRecognizer:_longPressGestureRecognizer];
         }
     }