Prevent URL-box resetting on cursor movement
Stop the URL-box from resetting to the current URL (or blank) whenever the user clicks on it to move the cursor
This commit is contained in:
parent
80ab4aff35
commit
f235a56ed9
@ -550,10 +550,10 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
||||
return;
|
||||
}
|
||||
String url = currentView.getUrl();
|
||||
if (UrlUtils.isSpecialUrl(url)) {
|
||||
mSearch.setText("");
|
||||
} else {
|
||||
mSearch.setText(url);
|
||||
if (!UrlUtils.isSpecialUrl(url)) {
|
||||
if (!mSearch.hasFocus()) {
|
||||
mSearch.setText(url);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user