summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index f5eec080b..edbe36fe7 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -9,7 +9,8 @@
#include "command.h"
#include "news.h"
#include "town.h"
-#include "vehicle.h"
+#include "vehicle.h"
+#include "console.h"
#include "table/animcursors.h"
@@ -1687,7 +1688,8 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_SHIFT | WKC_F11: ShowBuildTreesToolbar(); break;
case WKC_SHIFT | WKC_F12: ShowMusicWindow(); break;
case WKC_CTRL | 'S': _make_screenshot = 1; break;
- case WKC_CTRL | 'G': _make_screenshot = 2; break;
+ case WKC_CTRL | 'G': _make_screenshot = 2; break;
+ case WKC_TAB: IConsoleSwitch(); e->keypress.keycode=0; break;
case WKC_CTRL | WKC_ALT | 'C': if(!_networking) ShowCheatWindow(); break;
}
} break;