1
0
Fork 0

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:
sspanak 2024-08-22 16:24:05 +03:00 committed by Dimo Karaivanov
parent 8163f8ab20
commit 2dd9de71da
2 changed files with 3 additions and 3 deletions

View file

@ -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 -->

View file

@ -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;
} }