summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-30 20:51:36 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-30 20:51:36 +0200
commitebe29a9410458abac19c4ba10d5dce476e7ca34b (patch)
treebd8d2e2d3fb57822562d5b253a1cfd2057061e39 /src/gui/viewport.cpp
parent005a76ce5d539666022c80eb5b0c1dd760db19e7 (diff)
downloadmana-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.gz
mana-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.bz2
mana-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.xz
mana-ebe29a9410458abac19c4ba10d5dce476e7ca34b.zip
Made the popup-menu work again for equip/unequip processes.
I disabled the drop from equipment window since it was more simple to implement, and because it seemed useless or even bad for the user experience to me.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 0353fd44..945be7de 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -530,9 +530,9 @@ void Viewport::mouseReleased(gcn::MouseEvent &event)
}
void Viewport::showPopup(Window *parent, int x, int y, Item *item,
- bool isInventory)
+ bool isInventory, bool canDrop)
{
- mPopupMenu->showPopup(parent, x, y, item, isInventory);
+ mPopupMenu->showPopup(parent, x, y, item, isInventory, canDrop);
}
void Viewport::closePopupMenu()