Mercurial > hg > svgui
comparison widgets/LevelPanToolButton.cpp @ 1249:8ef67917c301
Ctrl-click, and middle-button click, on level-pan widget reset to default (not implemented yet for level-pan tool button though)
author | Chris Cannam |
---|---|
date | Tue, 28 Feb 2017 14:20:56 +0000 |
parents | 808d375a3b12 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
1248:fc40742bb911 | 1249:8ef67917c301 |
---|---|
150 } | 150 } |
151 | 151 |
152 void | 152 void |
153 LevelPanToolButton::selfClicked() | 153 LevelPanToolButton::selfClicked() |
154 { | 154 { |
155 cerr << "selfClicked" << endl; | |
156 | |
157 if (m_muted) { | 155 if (m_muted) { |
158 m_muted = false; | 156 m_muted = false; |
159 m_lpw->setLevel(m_savedLevel); | 157 m_lpw->setLevel(m_savedLevel); |
160 emit levelChanged(m_savedLevel); | 158 emit levelChanged(m_savedLevel); |
161 } else { | 159 } else { |