Browse Source

Fixes: Renaming was showing NULL

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Christopher Loessl 11 years ago
parent
commit
38ffb2e256
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCPlaylistViewController.m

+ 1 - 1
Sources/VLCPlaylistViewController.m

@@ -1097,7 +1097,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
     }
 
     NSString *itemName;
-    if (_usingTableViewToShowData)
+    if (!_usingTableViewToShowData)
         itemName = [(VLCPlaylistCollectionViewCell *)[self.collectionView cellForItemAtIndexPath:indexPaths[0]] titleLabel].text;
     else
         itemName = [(VLCPlaylistTableViewCell *)[self.tableView cellForRowAtIndexPath:indexPaths[0]] titleLabel].text;