Diferentiate action types in the tool trace
This commit is contained in:
parent
2c86b3d8cf
commit
c29c3d9cc1
|
@ -150,7 +150,7 @@ bool ACTION_MANAGER::RunHotKey( int aHotKey ) const
|
||||||
if( context )
|
if( context )
|
||||||
{
|
{
|
||||||
wxLogTrace( kicadTraceToolStack,
|
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 ) );
|
KeyNameFromKeyCode( aHotKey ) );
|
||||||
|
|
||||||
return m_toolMgr->RunAction( *context, true );
|
return m_toolMgr->RunAction( *context, true );
|
||||||
|
@ -160,7 +160,7 @@ bool ACTION_MANAGER::RunHotKey( int aHotKey ) const
|
||||||
for( auto act : global )
|
for( auto act : global )
|
||||||
{
|
{
|
||||||
wxLogTrace( kicadTraceToolStack,
|
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 ) );
|
KeyNameFromKeyCode( aHotKey ) );
|
||||||
|
|
||||||
if( m_toolMgr->RunAction( *act, true ) )
|
if( m_toolMgr->RunAction( *act, true ) )
|
||||||
|
|
Loading…
Reference in New Issue