mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +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,
|
||||
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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue