diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 12:10:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 12:10:19 -0600 |
commit | ef48d3556d4b1dc416c8cf5198c0e0af0f768e9e (patch) | |
tree | d04011e9686899f4a0245393d5e41306620bd5a6 /src/gui/inventorywindow.cpp | |
parent | 429e82f91487d48ecb5a1742ec6fb6987a2bc9bd (diff) | |
download | mana-ef48d3556d4b1dc416c8cf5198c0e0af0f768e9e.tar.gz mana-ef48d3556d4b1dc416c8cf5198c0e0af0f768e9e.tar.bz2 mana-ef48d3556d4b1dc416c8cf5198c0e0af0f768e9e.tar.xz mana-ef48d3556d4b1dc416c8cf5198c0e0af0f768e9e.zip |
Don't show the split button for eAthena
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 8a18cd0d..372e94d3 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -253,6 +253,11 @@ void InventoryWindow::valueChanged(const gcn::SelectionEvent &event) } } +void InventoryWindow::setSplitAllowed(bool allowed) +{ + mSplitButton->setVisible(allowed); +} + void InventoryWindow::updateButtons() { const Item *selectedItem = mItems->getSelectedItem(); |