diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-25 04:50:30 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-25 04:50:30 +0200 |
commit | 976536dca46613240b343ce65fe3f7ddac99b5aa (patch) | |
tree | fa5c38c1f4f4766b242c9be3f298638738254218 /src/gui/inventorywindow.cpp | |
parent | 4cd7505ed872a959a587f738c5b77a3c1585025f (diff) | |
download | mv-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.gz mv-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.bz2 mv-976536dca46613240b343ce65fe3f7ddac99b5aa.tar.xz mv-976536dca46613240b343ce65fe3f7ddac99b5aa.zip |
Fix possible invisible items in inventory.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 |
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(); } } |