From: Peter Penz Date: Mon, 17 Jan 2011 17:39:36 +0000 (+0000) Subject: Fix regression introduced by SVN commit 1214916: The navigator should get the focus... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/75a6e8fb2ae418960769d4870f4b3dbabb20d049?ds=inline 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 --- 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