diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-26 03:18:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-26 03:18:49 +0300 |
commit | e72b6ef50fbfe22d3c856e06db00d55643a4c148 (patch) | |
tree | 5d01d23e312dd28408d98c6146518e964f81c23b /src/gui/windows/inventorywindow.cpp | |
parent | ee12ea1f64fe7efcbfdba7e663de1663f3367834 (diff) | |
download | manaverse-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.gz manaverse-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.bz2 manaverse-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.xz manaverse-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.cpp | 4 |
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; |