mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
let F6 also select the whole text of the URL navigator to stay consistent with Konqueror and Firefox
BUG: 157589 svn path=/trunk/KDE/kdebase/apps/; revision=775977
This commit is contained in:
parent
e4a77559f5
commit
98497a639a
|
@ -499,6 +499,11 @@ void DolphinMainWindow::editLocation()
|
|||
KUrlNavigator* navigator = m_activeViewContainer->urlNavigator();
|
||||
navigator->setUrlEditable(true);
|
||||
navigator->setFocus();
|
||||
|
||||
// select the whole text of the combo box editor
|
||||
QLineEdit* lineEdit = navigator->editor()->lineEdit();
|
||||
const QString text = lineEdit->text();
|
||||
lineEdit->setSelection(0, text.length());
|
||||
}
|
||||
|
||||
void DolphinMainWindow::adjustViewProperties()
|
||||
|
|
Loading…
Reference in a new issue