am 8eb214d7: Merge "Fix dictionary pack preference order."
* commit '8eb214d7e198e25d48b56fa0a82b2861f817e23c': Fix dictionary pack preference order.main
commit
fd2f09aee8
|
@ -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