From 55076d0bb05be9144dc0ca2bef892c51621a8e39 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Tue, 21 Nov 2017 20:56:54 +0100 Subject: [PATCH] Unsolo mixer channels on delete (#3982) If a mixer channel is soloed when it's deleted the other channels are left in the state their in which is, for the most part, muted. Solve this by clearing mixer channels on delete. --- src/gui/FxMixerView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/FxMixerView.cpp b/src/gui/FxMixerView.cpp index 0e828c329..8da1cb4e0 100644 --- a/src/gui/FxMixerView.cpp +++ b/src/gui/FxMixerView.cpp @@ -382,6 +382,10 @@ void FxMixerView::deleteChannel(int index) // remember selected line int selLine = m_currentFxLine->channelIndex(); + // in case the deleted channel is soloed or the remaining + // channels will be left in a muted state + Engine::fxMixer()->clearChannel(index); + // delete the real channel Engine::fxMixer()->deleteChannel(index);