fixed incorrect double suggestion loading when using a word filter
This commit is contained in:
parent
a9e6b634fd
commit
8070abd8f6
1 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ public abstract class HotkeyHandler extends CommandHandler {
|
|||
|
||||
if (mInputMode.clearWordStem()) {
|
||||
mInputMode
|
||||
.setOnSuggestionsUpdated(this::getSuggestions)
|
||||
.setOnSuggestionsUpdated(this::handleSuggestions)
|
||||
.loadSuggestions(suggestionOps.getCurrent(mInputMode.getSequenceLength()));
|
||||
return true;
|
||||
}
|
||||
|
|
@ -237,7 +237,7 @@ public abstract class HotkeyHandler extends CommandHandler {
|
|||
mInputMode.reset();
|
||||
} else if (mInputMode.setWordStem(filter, repeat)) {
|
||||
mInputMode
|
||||
.setOnSuggestionsUpdated(super::getSuggestions)
|
||||
.setOnSuggestionsUpdated(super::handleSuggestions)
|
||||
.loadSuggestions(filter);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue