OK no longer shows the main view when it is hidden (#359)
This commit is contained in:
parent
94289187e9
commit
6b5e7b7782
1 changed files with 3 additions and 7 deletions
|
|
@ -309,15 +309,11 @@ public class TraditionalT9 extends KeyPadHandler {
|
|||
public boolean onOK() {
|
||||
cancelAutoAccept();
|
||||
|
||||
if (!isInputViewShown() && !textField.isThereText()) {
|
||||
forceShowWindowIfHidden();
|
||||
return true;
|
||||
} else if (isSuggestionViewHidden()) {
|
||||
if (isSuggestionViewHidden()) {
|
||||
return performOKAction();
|
||||
} else {
|
||||
acceptCurrentSuggestion(KeyEvent.KEYCODE_ENTER);
|
||||
}
|
||||
|
||||
acceptCurrentSuggestion(KeyEvent.KEYCODE_ENTER);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue