Merge "Fix dictionary pack preference order."
commit
8eb214d7e1
|
@ -222,7 +222,9 @@ public final class DictionarySettingsFragment extends PreferenceFragment
|
||||||
refreshNetworkState();
|
refreshNetworkState();
|
||||||
|
|
||||||
removeAnyDictSettings(prefScreen);
|
removeAnyDictSettings(prefScreen);
|
||||||
|
int i = 0;
|
||||||
for (Preference preference : prefList) {
|
for (Preference preference : prefList) {
|
||||||
|
preference.setOrder(i++);
|
||||||
prefScreen.addPreference(preference);
|
prefScreen.addPreference(preference);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue