Small behavior fix

This commit is contained in:
M66B 2022-10-19 07:51:08 +02:00
parent c7b6583979
commit 3a35565166
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
@Override
public void run() {
try {
if (edit == null || backspace == null)
if (edit == null || backspace == null || !hasFocus())
return;
ClipImageSpan[] spans = edit.getSpans(backspace, backspace, ClipImageSpan.class);
if (spans.length == 1) {