summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 03:18:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 03:18:49 +0300
commite72b6ef50fbfe22d3c856e06db00d55643a4c148 (patch)
tree5d01d23e312dd28408d98c6146518e964f81c23b /src/gui/popups/popupmenu.cpp
parentee12ea1f64fe7efcbfdba7e663de1663f3367834 (diff)
downloadmanaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.gz
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.bz2
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.xz
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.zip
Add inventory type for mail view window. Not allow drag from/to this inventory.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 6d4dc8432..752caff72 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1702,6 +1702,7 @@ void PopupMenu::showPopup(Window *const parent,
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
default:
@@ -2815,6 +2816,7 @@ void PopupMenu::addItemMenu(const Item *const item,
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
default: