1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

onAccept -> onDialogClosed

This commit is contained in:
Nikolay Pultsin 2011-10-27 18:05:45 +01:00
parent 6cd5b5e228
commit edffb5600b
4 changed files with 12 additions and 4 deletions

View file

@ -51,7 +51,9 @@ class DictionaryPreference extends ZLStringListPreference {
setInitialValue(myOption.getValue());
}
public void onAccept() {
@Override
protected void onDialogClosed(boolean result) {
super.onDialogClosed(result);
myOption.setValue(getValue());
}
}