# HG changeset patch # User Chris Cannam # Date 1427281773 0 # Node ID 7cf497b72da3ffeb2ea08f3f6b202db1b935116d # Parent 86df7de08e033b0d0abd5251a05ac1bf11e8cf70 Fixes to muting from level-pan tool button diff -r 86df7de08e03 -r 7cf497b72da3 widgets/LevelPanToolButton.cpp --- 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(); }