From 5c0faf237dc81824703bc89d32526b62e6b12f4f Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 18 Oct 2012 19:11:59 +0200 Subject: [PATCH] Fixed error in first synchronization, once again --- src/com/owncloud/android/ui/fragment/OCFileListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/owncloud/android/ui/fragment/OCFileListFragment.java b/src/com/owncloud/android/ui/fragment/OCFileListFragment.java index e6f7b1335c..c751575809 100644 --- a/src/com/owncloud/android/ui/fragment/OCFileListFragment.java +++ b/src/com/owncloud/android/ui/fragment/OCFileListFragment.java @@ -171,7 +171,7 @@ public class OCFileListFragment extends FragmentListView { directory = storageManager.getFileById(directory.getParentId()); } - mAdapter.swapDirectory(mFile, storageManager); + mAdapter.swapDirectory(directory, storageManager); if (mFile == null || !mFile.equals(directory)) { mList.setSelectionFromTop(0, 0); }