diff src/historywidget.cpp @ 572:88ec0ae91dcc

Update search in history only if there are search terms; don't use spacer in toolbar on Mac
author Chris Cannam
date Tue, 06 Mar 2012 14:24:48 +0000
parents 1e76d1009167
children 6f90bb52eee6
line wrap: on
line diff
--- a/src/historywidget.cpp	Wed Feb 29 15:24:10 2012 +0000
+++ b/src/historywidget.cpp	Tue Mar 06 14:24:48 2012 +0000
@@ -252,7 +252,9 @@
         toFocus->ensureVisible();
     }
 
-    updateSearchStatus();
+    if (m_searchText != "") {
+        updateSearchStatus();
+    }
     connectSceneSignals();
 }