summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 19:26:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 19:26:38 +0300
commita3d9d04eccfe425165e05e338c9b75ef778e6511 (patch)
tree8d04b8f62025733e5fa86010fcf2046b929847d8 /src/gui
parent732903900991f5b6e6ab5732b4c25bf409d3b39e (diff)
downloadmv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.gz
mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.bz2
mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.xz
mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.zip
fix special commands in tabs.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/chattab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index 31c4fb0ab..d699b29fe 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -445,7 +445,8 @@ void ChatTab::handleCommand(const std::string &msg)
std::string args(msg, pos == std::string::npos ? msg.size() : pos + 1);
args = trim(args);
- inputManager.executeChatCommand(type, args, this);
+ if (!handleCommand(type, args))
+ inputManager.executeChatCommand(type, args, this);
}
void ChatTab::handleHelp(const std::string &msg)