mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017651 - Reshow cursor once autocomplete text is gone; r=wesj
This commit is contained in:
parent
639e976d1d
commit
781e6755f9
@ -260,6 +260,11 @@ public class ToolbarEditText extends CustomEditText
|
||||
// replace() preserves the autocomplete spans that we set before.
|
||||
text.replace(autoCompleteStart, textLength, result, autoCompleteStart, resultLength);
|
||||
|
||||
// Reshow the cursor if there is no longer any autocomplete text.
|
||||
if (autoCompleteStart == resultLength) {
|
||||
setCursorVisible(true);
|
||||
}
|
||||
|
||||
endSettingAutocomplete();
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user