diff options
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index ce971cb0..ca91c156 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -192,6 +192,10 @@ void SellDialog::action(const gcn::ActionEvent &event) mShopItemList->setSelected(-1); mShopItems->getShop()->erase( mShopItems->getShop()->begin() + selectedItem); + + gcn::Rectangle scroll; + scroll.y = mShopItemList->getRowHeight() * selectedItem; + mShopItemList->showPart(scroll); } else { |