From kde-commits Thu Jan 17 19:03:37 2008 From: Urs Wolfer Date: Thu, 17 Jan 2008 19:03:37 +0000 To: kde-commits Subject: branches/KDE/4.0/kdelibs/kfile Message-Id: <1200596617.469375.22043.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120059662515615 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();