Skip to content

Commit

Permalink
2335: Add windows shortcut to open manual. (#2339)
Browse files Browse the repository at this point in the history
* 2335: Add windows shortcut to open manual.

* 2335: Fix typo.
  • Loading branch information
kduske committed Oct 11, 2018
1 parent 554a2ee commit a9b8d5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/src/View/ActionManager.cpp
Expand Up @@ -300,8 +300,12 @@ namespace TrenchBroom {
#endif

Menu* helpMenu = m_menuBar->addMenu("Help");
#ifdef _WIN32
helpMenu->addUnmodifiableActionItem(wxID_HELP, "TrenchBroom Manual", KeyboardShortcut(WXK_F1));
#else
helpMenu->addUnmodifiableActionItem(wxID_HELP, "TrenchBroom Manual");

#endif

#ifdef __APPLE__
// these won't show up in the app menu if we don't add them here
fileMenu->addUnmodifiableActionItem(wxID_ABOUT, "About TrenchBroom");
Expand Down

0 comments on commit a9b8d5c

Please sign in to comment.