From 33fa397fd5b560afde5a876a99acc2b2546d1d44 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Aug 2014 12:32:04 +0300 Subject: Allow use chat commands before connecting to server. --- src/gui/windowmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp index 9c08f385e..4ed20e980 100644 --- a/src/gui/windowmanager.cpp +++ b/src/gui/windowmanager.cpp @@ -23,6 +23,7 @@ #include "gui/windowmanager.h" #include "client.h" +#include "commandhandler.h" #include "configuration.h" #include "game.h" #include "settings.h" @@ -90,6 +91,7 @@ void WindowManager::createWindows() helpWindow = new HelpWindow; didYouKnowWindow = new DidYouKnowWindow; didYouKnowWindow->postInit(); + commandHandler = new CommandHandler; } void WindowManager::initTitle() -- cgit v1.2.3-70-g09d2