瀏覽代碼

Fixes: Renaming was showing NULL

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Christopher Loessl 11 年之前
父節點
當前提交
38ffb2e256
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;