From 75bcf85c5bfa0aca83cffbdded7370c532319f0b Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sat, 3 Oct 2015 23:18:45 +0300
Subject: If trade tab disabled, try show TRADE messages in general tab.

---
 src/gui/windows/chatwindow.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/gui')

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;
         }
     }
-- 
cgit v1.2.3-70-g09d2