diff --git a/ui/app/AppLayouts/Browser/BrowserHeader.qml b/ui/app/AppLayouts/Browser/BrowserHeader.qml index 38125eeda4..4a74da73b1 100644 --- a/ui/app/AppLayouts/Browser/BrowserHeader.qml +++ b/ui/app/AppLayouts/Browser/BrowserHeader.qml @@ -104,6 +104,12 @@ Rectangle { focus: true text: "" color: Style.current.textColor + onActiveFocusChanged: { + if (activeFocus) { + addressBar.selectAll() + } + } + Keys.onPressed: { // TODO: disable browsing local files? file:// if (event.key === Qt.Key_Enter || event.key === Qt.Key_Return) {