Skip to content

Commit

Permalink
Unsolo mixer channels on delete (#3982)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zonkmachine authored Nov 21, 2017
1 parent 514ae34 commit 55076d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/FxMixerView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 55076d0

Please sign in to comment.