summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 19:36:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 19:36:13 +0300
commit7b04ced9ee8a73259b2d4f92bdf1941a4674e55c (patch)
tree8a47bd179d6076edae176a3f65cef8af2f7ca7de /src
parentac1522baed408a7626bab9596d2fcd31c8aed351 (diff)
downloadmanaplus-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.gz
manaplus-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.bz2
manaplus-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.xz
manaplus-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.zip
eathena: refresh mail list on getting notification about new mail.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/mailhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 68a3a2e67..9acab7718 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -216,6 +216,7 @@ void MailHandler::processNewMail(Net::MessageIn &msg)
NotifyManager::notify(NotifyTypes::NEW_MAIL,
strprintf(_("You have new mail from %s with subject %s"),
sender.c_str(), subj.c_str()));
+ refresh();
}
void MailHandler::processSetAttachmentAck(Net::MessageIn &msg)