From 27c5f29b1adb9f6a387a928e46169a753bda16e7 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 18 Jan 2014 07:49:47 +0000 Subject: [PATCH] #16 If solo is enabled, the fader does not work anymore --- src/audiomixerboard.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audiomixerboard.cpp b/src/audiomixerboard.cpp index 58aac0ca..770547e9 100755 --- a/src/audiomixerboard.cpp +++ b/src/audiomixerboard.cpp @@ -191,8 +191,10 @@ void CChannelFader::SetFaderLevel ( const int iLevel ) void CChannelFader::SendFaderLevelToServer ( const int iLevel ) { // if mute flag is set or other channel is on solo, do not apply the new - // fader value - if ( ( pcbMute->checkState() == Qt::Unchecked ) && !bOtherChannelIsSolo ) + // fader value (exception: we are on solo, in that case we ignore the + // "other channel is on solo" flag) + if ( ( pcbMute->checkState() == Qt::Unchecked ) && + ( !bOtherChannelIsSolo || IsSolo() ) ) { // emit signal for new fader gain value emit gainValueChanged ( CalcFaderGain ( iLevel ) );