SVN commit 762725 by uwolfer: Backport: SVN commit 762724 by uwolfer: Set the lineedit modified when it has been modified by the user. This way pasted paths/files get opened instead of the last selected in the file view (reproducible in KWrite when already one file has been opened). #155356 M +2 -0 kfilewidget.cpp --- branches/KDE/4.0/kdelibs/kfile/kfilewidget.cpp #762724:762725 @@ -1256,6 +1256,8 @@ void KFileWidgetPrivate::_k_slotLocationChanged( const QString& text ) { + locationEdit->lineEdit()->setModified( true ); + if ( text.isEmpty() && ops->view() ) ops->view()->clearSelection();