diff options
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 3253a8e83..41d34df13 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -389,7 +389,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : Layout &layout = getLayout(); layout.setRowHeight(2, LayoutType::SET); - mInventory->addInventoyListener(this); + mInventory->addInventoryListener(this); invInstances.push_back(this); @@ -425,7 +425,7 @@ InventoryWindow::~InventoryWindow() { invInstances.remove(this); if (mInventory != nullptr) - mInventory->removeInventoyListener(this); + mInventory->removeInventoryListener(this); if (!invInstances.empty()) invInstances.front()->updateDropButton(); @@ -1117,7 +1117,7 @@ void InventoryWindow::unsetInventory() { if (mInventory != nullptr) { - mInventory->removeInventoyListener(this); + mInventory->removeInventoryListener(this); if (mItems != nullptr) mItems->unsetInventory(); } |