Merge pull request #562 from mtbu/dev
Prevent URL-box resetting on cursor movement
This commit is contained in:
commit
8f7248c176
@ -547,10 +547,10 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String url = currentView.getUrl();
|
String url = currentView.getUrl();
|
||||||
if (UrlUtils.isSpecialUrl(url)) {
|
if (!UrlUtils.isSpecialUrl(url)) {
|
||||||
mSearch.setText("");
|
if (!mSearch.hasFocus()) {
|
||||||
} else {
|
mSearch.setText(url);
|
||||||
mSearch.setText(url);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user