summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/trade.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index e3325896..77296e64 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -257,7 +257,10 @@ void TradeWindow::action(const gcn::ActionEvent &event)
return;
if (!inventoryWindow->isVisible())
+ {
inventoryWindow->setVisible(true);
+ return;
+ }
if (!item)
return;