History

Add hotkey to reload all scripts

Ryan Huffman committed 12 years ago

Commit 0efce7c1 parent f3b8d681 file · +2 −1Browse files

Showing the changes to interface/src/Menu.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Menu.cpp+2−1
@@ -148,7 +148,8 @@ Menu::Menu() : · 147 unmodified lines
148148 addActionToQMenuAndActionHash(fileMenu, MenuOption::LoadScriptURL,
149149 Qt::CTRL | Qt::SHIFT | Qt::Key_O, appInstance, SLOT(loadScriptURLDialog()));
150150 addActionToQMenuAndActionHash(fileMenu, MenuOption::StopAllScripts, 0, appInstance, SLOT(stopAllScripts()));
151− addActionToQMenuAndActionHash(fileMenu, MenuOption::ReloadAllScripts, 0, appInstance, SLOT(reloadAllScripts()));
151+ addActionToQMenuAndActionHash(fileMenu, MenuOption::ReloadAllScripts, Qt::CTRL | Qt::SHIFT | Qt::Key_R,
152+ appInstance, SLOT(reloadAllScripts()));
152153 addActionToQMenuAndActionHash(fileMenu, MenuOption::RunningScripts, Qt::CTRL | Qt::Key_J,
153154 appInstance, SLOT(toggleRunningScriptsWidget()));
154155