From 8fda16c465f8ea9ad6c748d4a5a097ff360fe960 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Oct 2013 15:17:44 +0300 Subject: Remember sort order in buy dialog between restarts. --- src/net/tmwa/buysellhandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/buysellhandler.cpp b/src/net/tmwa/buysellhandler.cpp index 4fc80acb1..de4a03631 100644 --- a/src/net/tmwa/buysellhandler.cpp +++ b/src/net/tmwa/buysellhandler.cpp @@ -111,6 +111,7 @@ void BuySellHandler::processNpcBuy(Net::MessageIn &msg) color = msg.readInt8(); mBuyDialog->addItem(itemId, color, 0, value); } + mBuyDialog->sort(); } void BuySellHandler::processNpcSellResponse(Net::MessageIn &msg) const -- cgit v1.2.3-70-g09d2