diff options
| author | Peter Penz <[email protected]> | 2011-02-04 20:55:52 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-02-04 20:55:52 +0100 |
| commit | 236eac2ffa671fe9cd56c233925a19d8c89f1141 (patch) | |
| tree | 2b8e5bd85d96caddcd32154e16eed1177ef2571b /src/dolphinviewcontainer.cpp | |
| parent | fd74aa8e2057158d2eadb835eb61564854c81020 (diff) | |
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.
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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. |
