summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-06 12:10:19 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-06 12:10:19 -0600
commitef48d3556d4b1dc416c8cf5198c0e0af0f768e9e (patch)
treed04011e9686899f4a0245393d5e41306620bd5a6 /src/gui/inventorywindow.cpp
parent429e82f91487d48ecb5a1742ec6fb6987a2bc9bd (diff)
downloadmana-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.cpp5
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();