From 2399c209dd3429ac2629e91d8cd2219e1e15c7db Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jun 2012 14:12:07 +0300 Subject: Allow enter in chat "?" as text message. --- src/gui/widgets/chattab.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index fa61f0dcd..f120cfb06 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -387,7 +387,10 @@ void ChatTab::chatInput(const std::string &message) handleCommand(std::string(msg, 1)); break; case '?': - handleHelp(std::string(msg, 1)); + if (msg.size() > 1) + handleHelp(std::string(msg, 1)); + else + handleInput(msg); break; default: handleInput(msg); -- cgit v1.2.3-70-g09d2