diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-05 15:17:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-05 15:17:44 +0300 |
commit | 8fda16c465f8ea9ad6c748d4a5a097ff360fe960 (patch) | |
tree | 8d4dcaf063751f201c828ca19da54d0d3a85ac84 /src/net/tmwa/buysellhandler.cpp | |
parent | f23f96aaf3e4fbfa44645a69ca57748a5570f70c (diff) | |
download | manaplus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.gz manaplus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.bz2 manaplus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.xz manaplus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.zip |
Remember sort order in buy dialog between restarts.
Diffstat (limited to 'src/net/tmwa/buysellhandler.cpp')
-rw-r--r-- | src/net/tmwa/buysellhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |