summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-03 23:18:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-03 23:19:21 +0300
commit75bcf85c5bfa0aca83cffbdded7370c532319f0b (patch)
tree8c26c0b7f31e92d54ab2afc2297f65864e8b896a /src/gui
parenta2100778f2930042fea64cd3edc86b986da5d5da (diff)
downloadmanaverse-75bcf85c5bfa0aca83cffbdded7370c532319f0b.tar.gz
manaverse-75bcf85c5bfa0aca83cffbdded7370c532319f0b.tar.bz2
manaverse-75bcf85c5bfa0aca83cffbdded7370c532319f0b.tar.xz
manaverse-75bcf85c5bfa0aca83cffbdded7370c532319f0b.zip
If trade tab disabled, try show TRADE messages in general tab.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/chatwindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index e5e80e02e..713db36fa 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1629,6 +1629,14 @@ bool ChatWindow::resortChatLog(std::string line,
ignoreRecord,
tryRemoveColors);
}
+ else if (localChatTab)
+ {
+ line = line.erase(idx + 2, 2);
+ localChatTab->chatLog(prefix + line,
+ own,
+ ignoreRecord,
+ tryRemoveColors);
+ }
return false;
}
}