diff options
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index eb07c90dc..6b7994854 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -400,13 +400,18 @@ void ShopWindow::action(const ActionEvent &event) { if (isBuySelected) { - ItemAmountWindow::showWindow(ItemAmountWindow::ShopBuyAdd, - this, item, sumAmount(item)); + ItemAmountWindow::showWindow(ItemAmountWindowUsage::ShopBuyAdd, + this, + item, + sumAmount(item)); } else { - ItemAmountWindow::showWindow(ItemAmountWindow::ShopSellAdd, - this, item, sumAmount(item)); + ItemAmountWindow::showWindow( + ItemAmountWindowUsage::ShopSellAdd, + this, + item, + sumAmount(item)); } } } |