Skip to content

Commit 9b3a05b

Browse files
committed
Quick CAR affected channels fix
1 parent 25003b9 commit 9b3a05b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugins/CAR/CAR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void CAR::setAffectedChannelState (int channel, bool newState)
135135
if (! newState)
136136
m_affectedChannels.removeFirstMatchingValue (channel);
137137
else
138-
m_affectedChannels.add (channel);
138+
m_affectedChannels.addIfNotAlreadyThere (channel);
139139
}
140140

141141
void CAR::saveCustomChannelParametersToXml(XmlElement* channelElement,

0 commit comments

Comments
 (0)