summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-02 00:40:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-02 00:40:20 +0300
commit4b7b44daf2bd8833b422699c8de79778392b2a56 (patch)
tree61ed81f1a67ce0b4a7e4fde182cc2a49504cbc70
parent1c87a896376d62131d9df1fee1bd7cec79e21aa6 (diff)
downloadplus-4b7b44daf2bd8833b422699c8de79778392b2a56.tar.gz
plus-4b7b44daf2bd8833b422699c8de79778392b2a56.tar.bz2
plus-4b7b44daf2bd8833b422699c8de79778392b2a56.tar.xz
plus-4b7b44daf2bd8833b422699c8de79778392b2a56.zip
hide emotes window if chat is closed.
-rw-r--r--src/gui/chatwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 521877ca3..2017fc4f6 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -119,6 +119,8 @@ class ChatInput final : public TextField
setVisible(n);
if (config.getBoolValue("hideChatInput"))
mWindow->adjustTabSize();
+ if (emoteWindow)
+ emoteWindow->hide();
}
void unprotectFocus()