KrushDays-fix: fixed issue that F6 does not apply the focus to the URL navigator when the navigator is already in the editable mode

svn path=/trunk/KDE/kdebase/apps/; revision=732773
This commit is contained in:
Peter Penz 2007-11-04 18:50:22 +00:00
parent 87ba6b6e04
commit 7f94bd6520

View file

@ -917,7 +917,9 @@ void DolphinMainWindow::toggleEditLocation()
void DolphinMainWindow::editLocation()
{
m_activeViewContainer->urlNavigator()->setUrlEditable(true);
KUrlNavigator* navigator = m_activeViewContainer->urlNavigator();
navigator->setUrlEditable(true);
navigator->setFocus();
}
void DolphinMainWindow::adjustViewProperties()