diff options
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index fcef420bd..a5849315b 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -561,7 +561,7 @@ void InventoryWindow::updateButtons(const Item *item) if (!mInventory || !mInventory->isMainInventory()) return; - Item *const selectedItem = mItems->getSelectedItem(); + const Item *const selectedItem = mItems->getSelectedItem(); if (item && selectedItem != item) return; |