summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-05 15:17:44 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-05 15:17:44 +0300
commit8fda16c465f8ea9ad6c748d4a5a097ff360fe960 (patch)
tree8d4dcaf063751f201c828ca19da54d0d3a85ac84 /src/gui/windows/shopwindow.cpp
parentf23f96aaf3e4fbfa44645a69ca57748a5570f70c (diff)
downloadplus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.gz
plus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.bz2
plus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.tar.xz
plus-8fda16c465f8ea9ad6c748d4a5a097ff360fe960.zip
Remember sort order in buy dialog between restarts.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 7e6fbbb7c..082ebddb0 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -680,6 +680,8 @@ void ShopWindow::showList(const std::string &nick, std::string data) const
}
}
}
+ if (buyDialog)
+ buyDialog->sort();
}
void ShopWindow::processRequest(const std::string &nick, std::string data,