summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-03 20:54:39 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-03 20:54:39 +0300
commit4cc1a068ca16c3aa272e0db267826cd414fbcd0d (patch)
tree54924fc264a42a943a9ec86007e1d4f6ea47e582 /src/gui/popupmenu.cpp
parentf2bf0b4459f4d2595688ca374feed5b756959b28 (diff)
downloadplus-4cc1a068ca16c3aa272e0db267826cd414fbcd0d.tar.gz
plus-4cc1a068ca16c3aa272e0db267826cd414fbcd0d.tar.bz2
plus-4cc1a068ca16c3aa272e0db267826cd414fbcd0d.tar.xz
plus-4cc1a068ca16c3aa272e0db267826cd414fbcd0d.zip
Fix "add to trade" action in inventory context menu.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
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)