diff widgets/LevelPanToolButton.cpp @ 931:7cf497b72da3 tonioni

Fixes to muting from level-pan tool button
author Chris Cannam
date Wed, 25 Mar 2015 11:09:33 +0000
parents 86df7de08e03
children 37bb4b416c52
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.cpp	Wed Mar 25 10:55:09 2015 +0000
+++ b/widgets/LevelPanToolButton.cpp	Wed Mar 25 11:09:33 2015 +0000
@@ -107,10 +107,12 @@
     if (m_muted) {
 	m_muted = false;
 	m_lpw->setLevel(m_savedLevel);
+	emit levelChanged(m_savedLevel);
     } else {
 	m_savedLevel = m_lpw->getLevel();
 	m_muted = true;
 	m_lpw->setLevel(0.f);
+	emit levelChanged(0.f);
     }
     redraw();
 }