Remove accelerator keys from schematic find/replace dialog.

Fixes https://gitlab.com/kicad/code/kicad/issues/14304

(cherry picked from commit afe813cae5)
This commit is contained in:
Jeff Young 2023-03-18 23:32:29 +00:00
parent 94fd0df2e2
commit 044c301d64
2 changed files with 6 additions and 6 deletions

View File

@ -112,17 +112,17 @@ DIALOG_SCH_FIND_BASE::DIALOG_SCH_FIND_BASE( wxWindow* parent, wxWindowID id, con
wxBoxSizer* rightSizer;
rightSizer = new wxBoxSizer( wxVERTICAL );
m_buttonFind = new wxButton( this, wxID_FIND, _("&Find"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonFind = new wxButton( this, wxID_FIND, _("Find"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonFind->SetDefault();
rightSizer->Add( m_buttonFind, 0, wxALL|wxEXPAND, 6 );
m_buttonReplace = new wxButton( this, wxID_REPLACE, _("&Replace"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonReplace = new wxButton( this, wxID_REPLACE, _("Replace"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonReplace->Hide();
rightSizer->Add( m_buttonReplace, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );
m_buttonReplaceAll = new wxButton( this, wxID_REPLACE_ALL, _("Replace &All"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonReplaceAll = new wxButton( this, wxID_REPLACE_ALL, _("Replace All"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonReplaceAll->Hide();
rightSizer->Add( m_buttonReplaceAll, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );

View File

@ -1100,7 +1100,7 @@
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_FIND</property>
<property name="label">&amp;Find</property>
<property name="label">Find</property>
<property name="margins"></property>
<property name="markup">0</property>
<property name="max_size"></property>
@ -1174,7 +1174,7 @@
<property name="gripper">0</property>
<property name="hidden">1</property>
<property name="id">wxID_REPLACE</property>
<property name="label">&amp;Replace</property>
<property name="label">Replace</property>
<property name="margins"></property>
<property name="markup">0</property>
<property name="max_size"></property>
@ -1249,7 +1249,7 @@
<property name="gripper">0</property>
<property name="hidden">1</property>
<property name="id">wxID_REPLACE_ALL</property>
<property name="label">Replace &amp;All</property>
<property name="label">Replace All</property>
<property name="margins"></property>
<property name="markup">0</property>
<property name="max_size"></property>