diff main/MainWindow.cpp @ 737:48bd87b0a84e

Only update message if it has actually changed
author Chris Cannam
date Tue, 01 Jul 2014 15:33:51 +0100
parents 73a5884a0975
children 1192963e2d83
line wrap: on
line diff
--- a/main/MainWindow.cpp	Wed Jun 18 13:56:00 2014 +0100
+++ b/main/MainWindow.cpp	Tue Jul 01 15:33:51 2014 +0100
@@ -3934,7 +3934,9 @@
             .arg(startStr).arg(endStr).arg(durationStr);
     }
 
-    statusBar()->showMessage(m_myStatusMessage);
+    if (statusBar()->currentMessage() != m_myStatusMessage) {
+        statusBar()->showMessage(m_myStatusMessage);
+    }
 
     updatePositionStatusDisplays();
 }