From 75a6e8fb2ae418960769d4870f4b3dbabb20d049 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 17 Jan 2011 17:39:36 +0000 Subject: Fix regression introduced by SVN commit 1214916: The navigator should get the focus when "Replace Location" is invoked. CCMAIL: sebastian@sebastian-doerner.de svn path=/trunk/KDE/kdebase/apps/; revision=1215110 --- src/dolphinmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 3f3c1a304..0c9a1f4e7 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -844,6 +844,7 @@ void DolphinMainWindow::replaceLocation() { KUrlNavigator* navigator = m_activeViewContainer->urlNavigator(); navigator->setUrlEditable(true); + navigator->setFocus(); // select the whole text of the combo box editor QLineEdit* lineEdit = navigator->editor()->lineEdit(); // krazy:exclude=qclasses -- cgit v1.3