47 - in the handleEvent, the _findMatchingMacros can return an empty array. The check for match if(matchingMacros) will return true for an empty array result and therefore stop the event propagation for that key pressed. if(matchingMacros) replaced with if(isPresent(matchingMacros)) and test added
47 - in the
handleEvent
, the_findMatchingMacros
can return an empty array. The check for matchif(matchingMacros)
will return true for an empty array result and therefore stop the event propagation for that key pressed.if(matchingMacros)
replaced withif(isPresent(matchingMacros))
and test added