fixed the Clear Filter key not breaking typing when no filter is active
This commit is contained in:
parent
2c1ea9c411
commit
81173fb158
2 changed files with 8 additions and 1 deletions
|
|
@ -423,7 +423,10 @@ public class TraditionalT9 extends KeyPadHandler {
|
|||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
acceptIncompleteSuggestion();
|
||||
resetKeyRepeat();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -173,6 +173,10 @@ public class ModePredictive extends InputMode {
|
|||
@Override
|
||||
public boolean setWordStem(String newStem, boolean exact) {
|
||||
if (newStem == null || newStem.isEmpty()) {
|
||||
if (stem.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
isStemFuzzy = false;
|
||||
stem = "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue