attempt to prevent the SuggestionOps.setTextField NullPointerException when shutting down
This commit is contained in:
parent
4d714cf5e7
commit
96d8ad4494
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ public abstract class TypingHandler extends KeyPadHandler {
|
||||||
|
|
||||||
// changing the TextField and notifying all interested classes is an atomic operation
|
// changing the TextField and notifying all interested classes is an atomic operation
|
||||||
appHacks = new AppHacks(inputType, textField, textSelection);
|
appHacks = new AppHacks(inputType, textField, textSelection);
|
||||||
suggestionOps.setTextField(textField);
|
suggestionOps.setTextField(connection == null || field == null ? null : textField);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue