AndyScherzinger 8 лет назад
Родитель
Сommit
aced3f518d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

+ 1 - 1
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

@@ -207,7 +207,7 @@ public class ExtendedListFragment extends Fragment
 
         if (savedInstanceState != null) {
             int referencePosition = savedInstanceState.getInt(KEY_SAVED_LIST_POSITION);
-            if (mCurrentListView == mListView) {
+            if (mListView.equals(mCurrentListView)) {
                 Log_OC.v(TAG, "Setting and centering around list position " + referencePosition);
                 mListView.setAndCenterSelection(referencePosition);
             } else {