From: Peter Penz Date: Thu, 4 Jun 2009 06:05:45 +0000 (+0000) Subject: Only reset the current URL, if the element is shown in the current view. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c5d3ac53832c88fcdcd6a9f101ddbf6b80bf62d1?ds=inline Only reset the current URL, if the element is shown in the current view. This fixes the issue that when going back the last visited directory is not marked. BUG: 192811 svn path=/trunk/KDE/kdebase/apps/; revision=977410 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 5cea1bde0..cb846fe42 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -67,8 +67,6 @@ #include "viewproperties.h" #include "zoomlevelinfo.h" -#include - /** * Helper function for sorting items with qSort() in * DolphinView::renameSelectedItems(). @@ -1204,8 +1202,8 @@ void DolphinView::slotDirListerCompleted() if (clearSelection) { view->clearSelection(); } + m_currentItemUrl.clear(); } - m_currentItemUrl.clear(); } if (!m_newFileNames.isEmpty()) {