summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 13:19:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 13:19:37 +0300
commit5251869d3507c8c3dc5fd4c824a06987fd6437e2 (patch)
tree2d60fdf3ddebfe1ee0f55b132f81be7820798f29 /src/gui/windows/chatwindow.cpp
parent07012a81f523b7f6bd095325ddd2675a3ce06d09 (diff)
downloadmv-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.gz
mv-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.bz2
mv-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.xz
mv-5251869d3507c8c3dc5fd4c824a06987fd6437e2.zip
Add autocomplete chat commands from actions.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 2be4f7be5..eb14628ea 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -240,6 +240,7 @@ void ChatWindow::fillCommands()
{
loadCommandsFile("chatcommands.txt");
CommandHandler::addChatCommands(mCommands);
+ inputManager.addChatCommands(mCommands);
}
void ChatWindow::loadGMCommands()