summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-07-31 00:01:03 +0200
committerBertram <bertram@cegetel.net>2009-07-31 00:01:03 +0200
commit256391f7bff25440218e7b10e445fe91f232f6a9 (patch)
treecfd0e79f1b97f83c837248e800d87a1428a49038 /src/gui/trade.cpp
parent3ff2538f8dda2f16e2a536ffc1d994374260d6f2 (diff)
downloadmana-256391f7bff25440218e7b10e445fe91f232f6a9.tar.gz
mana-256391f7bff25440218e7b10e445fe91f232f6a9.tar.bz2
mana-256391f7bff25440218e7b10e445fe91f232f6a9.tar.xz
mana-256391f7bff25440218e7b10e445fe91f232f6a9.zip
(Turmfalke patch) Show inventory window at trading start if it isn't visible.
Better than cancelling the trade. Fixed Mantis 800.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index e8953c8f..e3325896 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -257,7 +257,7 @@ void TradeWindow::action(const gcn::ActionEvent &event)
return;
if (!inventoryWindow->isVisible())
- return;
+ inventoryWindow->setVisible(true);
if (!item)
return;