346
346
if( (bool) m_commandId && (bool) aEvent.m_commandId )
347
347
return *m_commandId == *aEvent.m_commandId;
350
350
// BUGFIX: TA_ANY should match EVERYTHING, even TA_NONE (for TC_MESSAGE)
351
351
if( m_actions == TA_ANY && aEvent.m_actions == TA_NONE && aEvent.m_category == TC_MESSAGE)
354
354
// BUGFIX: This check must happen after the TC_COMMAND check because otherwise events of
355
355
// the form { TC_COMMAND, TA_NONE } will be incorrectly skipped
356
356
if( !( m_actions & aEvent.m_actions ) )