Eeschema, Spice simulator: use Ctrl+letter as accelerator keys.

Using only a letter can conflict with widgets accepting letters to enter data.
Fixes #8537
https://gitlab.com/kicad/code/kicad/issues/8537
This commit is contained in:
jean-pierre charras 2021-06-02 19:44:57 +02:00
parent f03ca3259e
commit 6919d12c70
2 changed files with 8 additions and 8 deletions

View File

@ -52,18 +52,18 @@ SIM_PLOT_FRAME_BASE::SIM_PLOT_FRAME_BASE( wxWindow* parent, wxWindowID id, const
m_mainMenu->Append( m_fileMenu, _("File") );
m_simulationMenu = new wxMenu();
m_runSimulation = new wxMenuItem( m_simulationMenu, ID_MENU_RUN_SIM, wxString( _("Run Simulation") ) + wxT('\t') + wxT("R"), wxEmptyString, wxITEM_NORMAL );
m_runSimulation = new wxMenuItem( m_simulationMenu, ID_MENU_RUN_SIM, wxString( _("Run Simulation") ) + wxT('\t') + wxT("Ctrl+R"), wxEmptyString, wxITEM_NORMAL );
m_simulationMenu->Append( m_runSimulation );
m_simulationMenu->AppendSeparator();
m_addSignals = new wxMenuItem( m_simulationMenu, ID_MENU_ADD_SIGNAL, wxString( _("Add Signals...") ) + wxT('\t') + wxT("A"), wxEmptyString, wxITEM_NORMAL );
m_addSignals = new wxMenuItem( m_simulationMenu, ID_MENU_ADD_SIGNAL, wxString( _("Add Signals...") ) + wxT('\t') + wxT("Ctrl+A"), wxEmptyString, wxITEM_NORMAL );
m_simulationMenu->Append( m_addSignals );
m_probeSignals = new wxMenuItem( m_simulationMenu, ID_MENU_PROBE_SIGNALS, wxString( _("Probe from schematics") ) + wxT('\t') + wxT("P"), wxEmptyString, wxITEM_NORMAL );
m_probeSignals = new wxMenuItem( m_simulationMenu, ID_MENU_PROBE_SIGNALS, wxString( _("Probe from schematics") ) + wxT('\t') + wxT("Ctrl+P"), wxEmptyString, wxITEM_NORMAL );
m_simulationMenu->Append( m_probeSignals );
m_tuneValue = new wxMenuItem( m_simulationMenu, ID_MENU_TUNE_SIGNALS, wxString( _("Tune Component Value") ) + wxT('\t') + wxT("T"), wxEmptyString, wxITEM_NORMAL );
m_tuneValue = new wxMenuItem( m_simulationMenu, ID_MENU_TUNE_SIGNALS, wxString( _("Tune Component Value") ) + wxT('\t') + wxT("Ctrl+T"), wxEmptyString, wxITEM_NORMAL );
m_simulationMenu->Append( m_tuneValue );
m_simulationMenu->AppendSeparator();

View File

@ -205,7 +205,7 @@
<property name="label">Run Simulation</property>
<property name="name">m_runSimulation</property>
<property name="permission">protected</property>
<property name="shortcut">R</property>
<property name="shortcut">Ctrl+R</property>
<property name="unchecked_bitmap"></property>
</object>
<object class="separator" expanded="0">
@ -222,7 +222,7 @@
<property name="label">Add Signals...</property>
<property name="name">m_addSignals</property>
<property name="permission">protected</property>
<property name="shortcut">A</property>
<property name="shortcut">Ctrl+A</property>
<property name="unchecked_bitmap"></property>
</object>
<object class="wxMenuItem" expanded="0">
@ -235,7 +235,7 @@
<property name="label">Probe from schematics</property>
<property name="name">m_probeSignals</property>
<property name="permission">protected</property>
<property name="shortcut">P</property>
<property name="shortcut">Ctrl+P</property>
<property name="unchecked_bitmap"></property>
</object>
<object class="wxMenuItem" expanded="0">
@ -248,7 +248,7 @@
<property name="label">Tune Component Value</property>
<property name="name">m_tuneValue</property>
<property name="permission">protected</property>
<property name="shortcut">T</property>
<property name="shortcut">Ctrl+T</property>
<property name="unchecked_bitmap"></property>
</object>
<object class="separator" expanded="0">