summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index bda9f786..8fd3a23e 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -154,7 +154,7 @@ void ItemContainer::mousePress(int mx, int my, int button)
int w = getWidth();
int columns = w / gridWidth;
- if (button == gcn::MouseInput::LEFT)
+ if (button == gcn::MouseInput::LEFT || gcn::MouseInput::RIGHT)
{
int index = mx / gridWidth + ((my / gridHeight) * columns) + 2;