1
0
Fork 0

fixed the Clear Filter key not breaking typing when no filter is active

This commit is contained in:
sspanak 2024-02-29 13:20:28 +02:00 committed by Dimo Karaivanov
parent 2c1ea9c411
commit 81173fb158
2 changed files with 8 additions and 1 deletions

View file

@ -423,7 +423,10 @@ public class TraditionalT9 extends KeyPadHandler {
return true; return true;
} }
return false; acceptIncompleteSuggestion();
resetKeyRepeat();
return true;
} }

View file

@ -173,6 +173,10 @@ public class ModePredictive extends InputMode {
@Override @Override
public boolean setWordStem(String newStem, boolean exact) { public boolean setWordStem(String newStem, boolean exact) {
if (newStem == null || newStem.isEmpty()) { if (newStem == null || newStem.isEmpty()) {
if (stem.isEmpty()) {
return false;
}
isStemFuzzy = false; isStemFuzzy = false;
stem = ""; stem = "";