-Bindings being removed from backend: removing now working, but not yet in RT

This commit is contained in:
Harry van Haaren 2013-11-19 22:06:05 +00:00
parent a079134735
commit a8d41b3ff3

View file

@ -698,8 +698,14 @@ void GenericMIDI::removeBinding( int bindingID )
{
if ( midiToAction.at(i)->ID == bindingID )
{
LUPPP_NOTE("MIDI binding REMOVED with bindingID %i", bindingID );
// CRITICAL FIXME
//LUPPP_NOTE("MIDI binding REMOVED with bindingID %i\n", bindingID );
Binding* tmp = midiToAction.at(i);
midiToAction.erase( midiToAction.begin()+i );
if ( tmp )
{
delete tmp;
}
return;
}
}