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
148 addActionToQMenuAndActionHash(fileMenu, MenuOption::LoadScriptURL,148 addActionToQMenuAndActionHash(fileMenu, MenuOption::LoadScriptURL,
149 Qt::CTRL | Qt::SHIFT | Qt::Key_O, appInstance, SLOT(loadScriptURLDialog()));149 Qt::CTRL | Qt::SHIFT | Qt::Key_O, appInstance, SLOT(loadScriptURLDialog()));
150 addActionToQMenuAndActionHash(fileMenu, MenuOption::StopAllScripts, 0, appInstance, SLOT(stopAllScripts()));150 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()));
152 addActionToQMenuAndActionHash(fileMenu, MenuOption::RunningScripts, Qt::CTRL | Qt::Key_J,153 addActionToQMenuAndActionHash(fileMenu, MenuOption::RunningScripts, Qt::CTRL | Qt::Key_J,
153 appInstance, SLOT(toggleRunningScriptsWidget()));154 appInstance, SLOT(toggleRunningScriptsWidget()));
154 155