summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index f63e01d6a..e402eee1a 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -535,6 +535,8 @@ void InventoryWindow::slotsChanged(Inventory* inventory)
}
mSlotsBar->setText(strprintf("%d/%d", usedSlots, maxSlots));
+ if (mItems)
+ mItems->updateMatrix();
}
}