summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 19:16:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 19:16:16 +0300
commitef190a13443d1ae9522c98ac5fab5a8c6181cda1 (patch)
treeb1b27007a030ca2aca5e71863385544f40117577 /src/net/ea/partyhandler.cpp
parentd3cdfdb52f031d6974d72e61914a073cb2995d34 (diff)
downloadmv-ef190a13443d1ae9522c98ac5fab5a8c6181cda1.tar.gz
mv-ef190a13443d1ae9522c98ac5fab5a8c6181cda1.tar.bz2
mv-ef190a13443d1ae9522c98ac5fab5a8c6181cda1.tar.xz
mv-ef190a13443d1ae9522c98ac5fab5a8c6181cda1.zip
eathena: fix party tab creation.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 5c5aaf80b..60356cf61 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -324,4 +324,11 @@ ChatTab *PartyHandler::getTab() const
return partyTab;
}
+void PartyHandler::createTab() const
+{
+ Ea::partyTab = new Ea::PartyTab(chatWindow);
+ if (config.getBoolValue("showChatHistory"))
+ Ea::partyTab->loadFromLogFile("#Party");
+}
+
} // namespace Ea