-Bindings being removed from backend: removing now working, but not yet in RT
This commit is contained in:
parent
a079134735
commit
a8d41b3ff3
1 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue