From 4cc1a068ca16c3aa272e0db267826cd414fbcd0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Apr 2011 20:54:39 +0300 Subject: Fix "add to trade" action in inventory context menu. --- src/gui/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 4372897cd..7493c3745 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -926,7 +926,7 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "addtrade" && mItem) { - ItemAmountWindow::showWindow(ItemAmountWindow::StoreAdd, + ItemAmountWindow::showWindow(ItemAmountWindow::TradeAdd, tradeWindow, mItem); } else if (link == "addtrade 10" && mItem) -- cgit v1.2.3-70-g09d2