disabled recomposing while a dictionary is loading to prevent database overload
This commit is contained in:
parent
ac63a31915
commit
7bab31c2ec
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ public abstract class TypingHandler extends KeyPadHandler {
|
||||||
textField.deleteChars(charsToDelete);
|
textField.deleteChars(charsToDelete);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.getBackspaceRecomposing() && repeat == 0 && suggestionOps.isEmpty()) {
|
if (settings.getBackspaceRecomposing() && repeat == 0 && suggestionOps.isEmpty() && !DictionaryLoader.getInstance(this).isRunning()) {
|
||||||
final String previousWord = textField.getWordBeforeCursor(mLanguage, 0, false);
|
final String previousWord = textField.getWordBeforeCursor(mLanguage, 0, false);
|
||||||
if (mInputMode.recompose(previousWord) && textField.recompose(previousWord)) {
|
if (mInputMode.recompose(previousWord) && textField.recompose(previousWord)) {
|
||||||
getSuggestions();
|
getSuggestions();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue