summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
-rw-r--r--src/gui/widgets/shoplistbox.cpp8
2 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index b6ac3cff3..6b073f741 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -890,7 +890,9 @@ void ItemContainer::mouseReleased(MouseEvent &event)
ItemAmountWindow::showWindow(
ItemAmountWindowUsage::MailAdd,
mailEditWindow,
- item);
+ item,
+ 0,
+ 0);
}
else
{
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 3df46b854..ea3f46e87 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -273,14 +273,18 @@ void ShopListBox::mouseReleased(MouseEvent& event)
ItemAmountWindow::showWindow(
ItemAmountWindowUsage::ShopBuyAdd,
nullptr,
- item);
+ item,
+ 0,
+ 0);
}
else
{
ItemAmountWindow::showWindow(
ItemAmountWindowUsage::ShopSellAdd,
nullptr,
- item);
+ item,
+ 0,
+ 0);
}
}