diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:43:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:43:47 +0300 |
commit | 972a29060fb65b058bf0aedbcaa4f563d189a9c1 (patch) | |
tree | eed5d9a59bfe7eb65d6edcbcb443c31b3f5d702c /src/gui/windows/inventorywindow.cpp | |
parent | 1cd50987bce69ada9ccea8c822ccd0ffb34cedde (diff) | |
download | manaverse-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.gz manaverse-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.bz2 manaverse-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.xz manaverse-972a29060fb65b058bf0aedbcaa4f563d189a9c1.zip |
Impliment context menu support for different inventory types.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 944c35f24..80f9cc5fd 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -501,7 +501,7 @@ void InventoryWindow::mouseClicked(MouseEvent &event) const int my = event.getY() + getY(); if (popupMenu) - popupMenu->showPopup(this, mx, my, item, isMainInventory()); + popupMenu->showPopup(this, mx, my, item, mInventory->getType()); } if (!mInventory) |