summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-25 00:55:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-25 00:55:26 +0300
commit07011b04bb619663d41ea0cc2bb9960157c3b846 (patch)
treee7334101d50e14fa7ac8428637305fa395bc9066 /src/net
parentcf06e522d4914ba89db1544003a3572f6d19bd02 (diff)
downloadmanaverse-07011b04bb619663d41ea0cc2bb9960157c3b846.tar.gz
manaverse-07011b04bb619663d41ea0cc2bb9960157c3b846.tar.bz2
manaverse-07011b04bb619663d41ea0cc2bb9960157c3b846.tar.xz
manaverse-07011b04bb619663d41ea0cc2bb9960157c3b846.zip
Update item container after each change in mail edit window.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/mail2recv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index bb0403681..3b6b7ed1a 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -164,6 +164,7 @@ void Mail2Recv::processAddItemResult(Net::MessageIn &msg)
inventory->setCards(slot, cards, 4);
inventory->setOptions(slot, options);
inventory->setTag(slot, index);
+ mailEditWindow->updateItems();
delete options;
}
@@ -224,6 +225,7 @@ void Mail2Recv::processRemoveItemResult(Net::MessageIn &msg)
}
item->increaseQuantity(-amount);
+ mailEditWindow->updateItems();
}
void Mail2Recv::processCheckNameResult(Net::MessageIn &msg)