Fixed error in first synchronization, once again

This commit is contained in:
David A. Velasco 2012-10-18 19:11:59 +02:00
parent adcb8d924b
commit 5c0faf237d

View file

@ -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);
}