From d93447489bbc2c32bfe02580965b2f195119054a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 22 Aug 2010 08:54:33 +0000 Subject: [PATCH] Clear search filter before hiding the top toolbar --- src/GUI.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index 8e54fa377..4e77f3eb2 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -916,6 +916,8 @@ void GUI::loadPreferences(bool configure_session) { toolBar->setVisible(true); toolBar->layout()->setSpacing(7); } else { + // Clear search filter before hiding the top toolbar + search_filter->clear(); toolBar->setVisible(false); } const uint new_refreshInterval = Preferences::getRefreshInterval();