diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-06 19:09:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-06 19:09:39 +0300 |
commit | f96861c0115f6808d8246b3e6defc828ab3a255e (patch) | |
tree | 76fa7c407187399e638cc514a59263d0468066e4 /src/net/ea | |
parent | 548bcd5e5450afefbbe2625da16aa23333e6b69a (diff) | |
download | manaplus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.gz manaplus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.bz2 manaplus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.xz manaplus-f96861c0115f6808d8246b3e6defc828ab3a255e.zip |
Add option for creating screenshots on each complete trade.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/traderecv.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/ea/traderecv.cpp b/src/net/ea/traderecv.cpp index 006c3a41f..df9ed0531 100644 --- a/src/net/ea/traderecv.cpp +++ b/src/net/ea/traderecv.cpp @@ -135,10 +135,7 @@ void TradeRecv::processTradeComplete(Net::MessageIn &msg A_UNUSED) { NotifyManager::notify(NotifyTypes::TRADE_COMPLETE); if (tradeWindow) - { - tradeWindow->setVisible(Visible_false); - tradeWindow->reset(); - } + tradeWindow->completeTrade(); PlayerInfo::setTrading(Trading_false); } |