فهرست منبع

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];
 }