fixed a long-standing bug with clearing the suggestion filter, when any but the first suggestion is selected, causing the first suggestion to become selected, instead of accepting the current one
This commit is contained in:
parent
8163f8ab20
commit
2dd9de71da
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:tools="http://schemas.android.com/tools"
|
<manifest xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:versionCode="643"
|
android:versionCode="646"
|
||||||
android:versionName="37.0"
|
android:versionName="37.3"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> <!-- allows displaying notifications on Android >= 13 -->
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> <!-- allows displaying notifications on Android >= 13 -->
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@ public abstract class HotkeyHandler extends CommandHandler {
|
||||||
|
|
||||||
suggestionOps.cancelDelayedAccept();
|
suggestionOps.cancelDelayedAccept();
|
||||||
|
|
||||||
if (mInputMode.clearWordStem()) {
|
if (mInputMode.clearWordStem() && mInputMode.isStemFilterFuzzy()) {
|
||||||
mInputMode.loadSuggestions(this::getSuggestions, suggestionOps.getCurrent(mInputMode.getSequenceLength()));
|
mInputMode.loadSuggestions(this::getSuggestions, suggestionOps.getCurrent(mInputMode.getSequenceLength()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue