mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Update hotkeys dumper to use asciidoctor keyboard macro
This commit is contained in:
parent
9effeb1fcb
commit
c8f308dd36
@ -243,9 +243,14 @@ void PANEL_HOTKEYS_EDITOR::dumpHotkeys()
|
||||
stream << wxT( "| " ) << hk.m_Actions[0]->GetLabel() << endl;
|
||||
|
||||
if( hk.m_EditKeycode > 0 )
|
||||
stream << wxT( " | `" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << '`' << endl;
|
||||
{
|
||||
stream << wxT( " | kbd:[" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << ']'
|
||||
<< endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
stream << wxT( " |" ) << endl;
|
||||
}
|
||||
|
||||
stream << wxT( " | " ) << hk.m_Actions[0]->GetDescription( false ) << endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user