diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-03 23:18:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-03 23:19:21 +0300 |
commit | 75bcf85c5bfa0aca83cffbdded7370c532319f0b (patch) | |
tree | 8c26c0b7f31e92d54ab2afc2297f65864e8b896a | |
parent | a2100778f2930042fea64cd3edc86b986da5d5da (diff) | |
download | manaverse-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.
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 8 |
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; } } |