From 236eac2ffa671fe9cd56c233925a19d8c89f1141 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 4 Feb 2011 20:55:52 +0100 Subject: Don't clear the search-text when switching between tabs The clearing of the search-text should only be done when opening the search-box. --- src/dolphinviewcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphinviewcontainer.cpp') diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index c46615bcc..1b921e678 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -212,6 +212,8 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled) m_urlNavigator->setVisible(!enabled); if (enabled) { + m_searchBox->clearText(); + // Remember the most recent non-search URL as search path // of the search-box, so that it can be restored // when switching back to the URL navigator. -- cgit v1.3