summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.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/windows/inventorywindow.cpp
parentee12ea1f64fe7efcbfdba7e663de1663f3367834 (diff)
downloadplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.gz
plus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.bz2
plus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.xz
plus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.zip
Add inventory type for mail view window. Not allow drag from/to this inventory.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 183c775ee..7a3716291 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -128,6 +128,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
default:
@@ -320,6 +321,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
break;
@@ -383,6 +385,7 @@ void InventoryWindow::storeSortOrder() const
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
default:
@@ -832,6 +835,7 @@ void InventoryWindow::close()
case InventoryType::Npc:
case InventoryType::Vending:
case InventoryType::MailEdit:
+ case InventoryType::MailView:
case InventoryType::Craft:
case InventoryType::TypeEnd:
break;