Update showConsole -> toggleConsole and change shortcut

This commit is contained in:
Ryan Huffman 2014-05-27 07:29:48 -07:00
parent 1d7272cbbf
commit 422c2eac67
2 changed files with 4 additions and 4 deletions

View file

@ -229,9 +229,9 @@ Menu::Menu() :
addActionToQMenuAndActionHash(toolsMenu,
MenuOption::Console,
Qt::CTRL | Qt::Key_QuoteLeft,
Qt::CTRL | Qt::ALT | Qt::Key_J,
this,
SLOT(showConsole()));
SLOT(toggleConsole()));
QMenu* viewMenu = addMenu("View");
@ -1230,7 +1230,7 @@ void Menu::toggleChat() {
#endif
}
void Menu::showConsole() {
void Menu::toggleConsole() {
QMainWindow* mainWindow = Application::getInstance()->getWindow();
if (!_jsConsole) {
_jsConsole = new JSConsole(mainWindow);

View file

@ -190,7 +190,7 @@ private slots:
void showMetavoxelEditor();
void showScriptEditor();
void showChat();
void showConsole();
void toggleConsole();
void toggleChat();
void audioMuteToggled();
void namedLocationCreated(LocationManager::NamedLocationCreateResponse response);