浏览代码

only set the currentpath to @ when it's not set before. Closes #14715

(cherry picked from commit 565cca09d6d4e367a6b4cb72282c1daecb4ae287)
Carola Nitz 10 年之前
父节点
当前提交
afd71e08da
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Sources/VLCCloudStorageTableViewController.m

+ 3 - 1
Sources/VLCCloudStorageTableViewController.m

@@ -182,7 +182,9 @@
     }
 
     //reload if we didn't come back from streaming
-    self.currentPath = @"";
+    if (self.currentPath == nil) {
+        self.currentPath = @"";
+    }
     if([self.controller.currentListFiles count] == 0)
         [self _requestInformationForCurrentPath];
 }