mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767541 - Allow search suggestions for string compositions. r=cpeterson
This commit is contained in:
parent
f18d090dd1
commit
986d85a2f8
@ -172,13 +172,10 @@ public class AwesomeBar extends GeckoActivity implements GeckoEventListener {
|
||||
|
||||
// If the AwesomeBar has a composition string, don't call updateGoButton().
|
||||
// That method resets IME and composition state will be broken.
|
||||
if (hasCompositionString(s)) {
|
||||
return;
|
||||
if (!hasCompositionString(s)) {
|
||||
updateGoButton(text);
|
||||
}
|
||||
|
||||
// no composition string. It is safe to update IME flags.
|
||||
updateGoButton(text);
|
||||
|
||||
// cancel previous query
|
||||
if (mSuggestTask != null) {
|
||||
mSuggestTask.cancel(true);
|
||||
|
Loading…
Reference in New Issue
Block a user