diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 8 | ||||
-rw-r--r-- | src/gui/windows/mailviewwindow.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index cd688be9b..183c775ee 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -127,7 +127,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: default: @@ -319,7 +319,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: break; @@ -382,7 +382,7 @@ void InventoryWindow::storeSortOrder() const case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: default: @@ -831,7 +831,7 @@ void InventoryWindow::close() case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: break; diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index d99fd602f..e1b3a16de 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -81,7 +81,7 @@ MailViewWindow::MailViewWindow(const MailMessage *const message, // TRANSLATORS: mail view window label mMessageLabel(new Label(this, strprintf("%s %s", _("Message:"), message->text.c_str()))), - mInventory(new Inventory(InventoryType::Mail, itemsCount)), + mInventory(new Inventory(InventoryType::MailEdit, itemsCount)), mItemContainer(new ItemContainer(this, mInventory)), mItemScrollArea(new ScrollArea(this, mItemContainer, fromBool(getOptionBool("showitemsbackground"), Opaque), |