diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-24 14:12:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-24 14:12:07 +0300 |
commit | 2399c209dd3429ac2629e91d8cd2219e1e15c7db (patch) | |
tree | f0aff1da4e5f1abb86bb88e7b9cf1f9c7dcd627d /src | |
parent | 64ec9b4c90fc36aaa96ae06a1307b1c44215ac5d (diff) | |
download | mv-2399c209dd3429ac2629e91d8cd2219e1e15c7db.tar.gz mv-2399c209dd3429ac2629e91d8cd2219e1e15c7db.tar.bz2 mv-2399c209dd3429ac2629e91d8cd2219e1e15c7db.tar.xz mv-2399c209dd3429ac2629e91d8cd2219e1e15c7db.zip |
Allow enter in chat "?" as text message.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); |