Skip to content

Commit

Permalink
minor changes to options (for consistency)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobanse committed Mar 2, 2022
1 parent 6cad97f commit e2fa937
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/GUIApplicationWindow.cpp
Expand Up @@ -546,18 +546,18 @@ GUIApplicationWindow::fillMenuBar() {
myControlMenu = new FXMenuPane(this);
GUIDesigns::buildFXMenuTitle(myMenuBar, "Simulation", nullptr, myControlMenu);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Run", "A,space", "Start/ Resume the simulation.",
"Run", "A or Spacebar", "Start/ Resume the simulation.",
GUIIconSubSys::getIcon(GUIIcon::START), this, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Stop", "S,space", "Halt the simulation.",
"Stop", "S or Spacebar", "Halt the simulation.",
GUIIconSubSys::getIcon(GUIIcon::STOP), this, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Step", "D", "Perform one simulation step.",
GUIIconSubSys::getIcon(GUIIcon::STEP), this, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Delay+", "PgUp", "Increase simulation step delay", nullptr, this, MID_DELAY_INC);
"Delay+", "PgUp", "Increase simulation step delay.", nullptr, this, MID_DELAY_INC);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Delay-", "PgDn", "Decrease simulation step delay", nullptr, this, MID_DELAY_DEC);
"Delay-", "PgDn", "Decrease simulation step delay.", nullptr, this, MID_DELAY_DEC);
GUIDesigns::buildFXMenuCommandShortcut(myControlMenu,
"Save", "", "Save the current simulation state to a file.",
GUIIconSubSys::getIcon(GUIIcon::SAVE), this, MID_SIMSAVE);
Expand Down

1 comment on commit e2fa937

@namdre
Copy link
Contributor

@namdre namdre commented on e2fa937 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to partially revert this because the string 'S,space" is used to defined hotkeys and your change brakes that assignment

Please sign in to comment.