diff options
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r-- | src/gui/shopwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 43e05aa70..d458a5156 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -278,7 +278,8 @@ void ShopWindow::addBuyItem(Item *item, int amount, int price) { if (!mBuyShopItems || !item) return; - mBuyShopItems->addItemNoDup(item->getId(), item->getColor(), amount, price); + mBuyShopItems->addItemNoDup(item->getId(), + item->getColor(), amount, price); updateButtonsAndLabels(); } @@ -286,7 +287,8 @@ void ShopWindow::addSellItem(Item *item, int amount, int price) { if (!mBuyShopItems || !item) return; - mSellShopItems->addItemNoDup(item->getId(), item->getColor(), amount, price); + mSellShopItems->addItemNoDup(item->getId(), + item->getColor(), amount, price); updateButtonsAndLabels(); } |