Add select-all to TEXT_ENTRY_TRICKS.
Fixes https://gitlab.com/kicad/code/kicad/issues/14237 Fixes https://gitlab.com/kicad/code/kicad/issues/13304
This commit is contained in:
parent
ea59d583d5
commit
9252793fdb
|
@ -41,6 +41,10 @@ void TEXTENTRY_TRICKS::OnCharHook( wxTextEntry* aTextEntry, wxKeyEvent& aEvent )
|
|||
{
|
||||
aTextEntry->Paste();
|
||||
}
|
||||
else if( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetKeyCode() == 'A' )
|
||||
{
|
||||
aTextEntry->SelectAll();
|
||||
}
|
||||
else if( aEvent.GetKeyCode() == WXK_BACK )
|
||||
{
|
||||
long start, end;
|
||||
|
|
Loading…
Reference in New Issue