summaryrefslogtreecommitdiff
path: root/src/gui/selldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-27 23:47:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-27 23:47:03 +0300
commit0ad49798faae14641827ab7a1e57358cdf99a9cc (patch)
tree1d9f9335f1a59ea2c2d2078842a0c6f08c59c68e /src/gui/selldialog.cpp
parente899683d3e45ff8ab8d5d717adf3a217810a5c40 (diff)
downloadmv-0ad49798faae14641827ab7a1e57358cdf99a9cc.tar.gz
mv-0ad49798faae14641827ab7a1e57358cdf99a9cc.tar.bz2
mv-0ad49798faae14641827ab7a1e57358cdf99a9cc.tar.xz
mv-0ad49798faae14641827ab7a1e57358cdf99a9cc.zip
allow buy protected items.
Diffstat (limited to 'src/gui/selldialog.cpp')
-rw-r--r--src/gui/selldialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp
index 2b397b331..f57db6dbd 100644
--- a/src/gui/selldialog.cpp
+++ b/src/gui/selldialog.cpp
@@ -83,6 +83,7 @@ void SellDialog::init()
mShopItems = new ShopItems(true);
mShopItemList = new ShopListBox(this, mShopItems, mShopItems);
+ mShopItemList->setProtectItems(true);
mScrollArea = new ScrollArea(mShopItemList,
getOptionBool("showbackground"), "sell_background.xml");
mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);