We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25003b9 commit 9b3a05bCopy full SHA for 9b3a05b
1 file changed
Plugins/CAR/CAR.cpp
@@ -135,7 +135,7 @@ void CAR::setAffectedChannelState (int channel, bool newState)
135
if (! newState)
136
m_affectedChannels.removeFirstMatchingValue (channel);
137
else
138
- m_affectedChannels.add (channel);
+ m_affectedChannels.addIfNotAlreadyThere (channel);
139
}
140
141
void CAR::saveCustomChannelParametersToXml(XmlElement* channelElement,
0 commit comments