summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 1c8db89c..6e34666d 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -91,6 +91,11 @@ class InventoryWindow : public Window,
*/
void valueChanged(const gcn::SelectionEvent &event);
+ /**
+ * Sets whether the split button should be shown.
+ */
+ void setSplitAllowed(bool allowed);
+
private:
void updateButtons(); /**< Updates button states. */