mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
onAccept -> onDialogClosed
This commit is contained in:
parent
6cd5b5e228
commit
edffb5600b
4 changed files with 12 additions and 4 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue