mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
Ladybird: Left-align long url in address bar
Previously when there was a very long url that spanned outside of the address bar, the text shown would be the one starting from the very end of the url instead of from the beginning, so you would be seeing the query parameters for example, instead of the domain.
This commit is contained in:
parent
feef83359d
commit
f0312de7eb
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path)
|
|||
}
|
||||
|
||||
m_location_edit->setText(url.to_deprecated_string().characters());
|
||||
m_location_edit->setCursorPosition(0);
|
||||
|
||||
// Don't add to history if back or forward is pressed
|
||||
if (!m_is_history_navigation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue