mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:08:51 +02:00
Update showConsole -> toggleConsole and change shortcut
This commit is contained in:
parent
1d7272cbbf
commit
422c2eac67
2 changed files with 4 additions and 4 deletions
|
@ -229,9 +229,9 @@ Menu::Menu() :
|
||||||
|
|
||||||
addActionToQMenuAndActionHash(toolsMenu,
|
addActionToQMenuAndActionHash(toolsMenu,
|
||||||
MenuOption::Console,
|
MenuOption::Console,
|
||||||
Qt::CTRL | Qt::Key_QuoteLeft,
|
Qt::CTRL | Qt::ALT | Qt::Key_J,
|
||||||
this,
|
this,
|
||||||
SLOT(showConsole()));
|
SLOT(toggleConsole()));
|
||||||
|
|
||||||
QMenu* viewMenu = addMenu("View");
|
QMenu* viewMenu = addMenu("View");
|
||||||
|
|
||||||
|
@ -1230,7 +1230,7 @@ void Menu::toggleChat() {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Menu::showConsole() {
|
void Menu::toggleConsole() {
|
||||||
QMainWindow* mainWindow = Application::getInstance()->getWindow();
|
QMainWindow* mainWindow = Application::getInstance()->getWindow();
|
||||||
if (!_jsConsole) {
|
if (!_jsConsole) {
|
||||||
_jsConsole = new JSConsole(mainWindow);
|
_jsConsole = new JSConsole(mainWindow);
|
||||||
|
|
|
@ -190,7 +190,7 @@ private slots:
|
||||||
void showMetavoxelEditor();
|
void showMetavoxelEditor();
|
||||||
void showScriptEditor();
|
void showScriptEditor();
|
||||||
void showChat();
|
void showChat();
|
||||||
void showConsole();
|
void toggleConsole();
|
||||||
void toggleChat();
|
void toggleChat();
|
||||||
void audioMuteToggled();
|
void audioMuteToggled();
|
||||||
void namedLocationCreated(LocationManager::NamedLocationCreateResponse response);
|
void namedLocationCreated(LocationManager::NamedLocationCreateResponse response);
|
||||||
|
|
Loading…
Reference in a new issue