changeset 737:48bd87b0a84e

Only update message if it has actually changed
author Chris Cannam
date Tue, 01 Jul 2014 15:33:51 +0100
parents 2700e13716ef
children 5ebce191aa04
files main/MainWindow.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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();
 }