Browse Source

Diferentiate action types in the tool trace

pull/16/head
Ian McInerney 6 years ago
parent
commit
c29c3d9cc1
  1. 4
      common/tool/action_manager.cpp

4
common/tool/action_manager.cpp

@ -150,7 +150,7 @@ bool ACTION_MANAGER::RunHotKey( int aHotKey ) const
if( context )
{
wxLogTrace( kicadTraceToolStack,
"ACTION_MANAGER::RunHotKey Running action %s for hotkey %s", context->GetName(),
"ACTION_MANAGER::RunHotKey Running context action %s for hotkey %s", context->GetName(),
KeyNameFromKeyCode( aHotKey ) );
return m_toolMgr->RunAction( *context, true );
@ -160,7 +160,7 @@ bool ACTION_MANAGER::RunHotKey( int aHotKey ) const
for( auto act : global )
{
wxLogTrace( kicadTraceToolStack,
"ACTION_MANAGER::RunHotKey Running action: %s for hotkey %s", act->GetName(),
"ACTION_MANAGER::RunHotKey Running global action: %s for hotkey %s", act->GetName(),
KeyNameFromKeyCode( aHotKey ) );
if( m_toolMgr->RunAction( *act, true ) )

Loading…
Cancel
Save