summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-05 21:00:06 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-05 21:00:49 -0600
commit99dbfa9e84ea30993d44d2a39bd5d06ae553c849 (patch)
tree504f8b35ef76f7fb67a5a21f136a20b8d1566dea /src/gui/viewport.cpp
parentc305c76f82d832cb3db9e1edb805d24522a90c3f (diff)
downloadmana-99dbfa9e84ea30993d44d2a39bd5d06ae553c849.tar.gz
mana-99dbfa9e84ea30993d44d2a39bd5d06ae553c849.tar.bz2
mana-99dbfa9e84ea30993d44d2a39bd5d06ae553c849.tar.xz
mana-99dbfa9e84ea30993d44d2a39bd5d06ae553c849.zip
Fix the context menu for the storage window
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 041794c2..f92a81b8 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -449,9 +449,9 @@ void Viewport::mouseReleased(gcn::MouseEvent &event)
mPlayerFollowMouse = false;
}
-void Viewport::showPopup(int x, int y, Item *item)
+void Viewport::showPopup(int x, int y, Item *item, bool isInventory)
{
- mPopupMenu->showPopup(x, y, item);
+ mPopupMenu->showPopup(x, y, item, isInventory);
}
void Viewport::closePopupMenu()