diff options
author | Bertram <bertram@cegetel.net> | 2009-07-31 00:01:03 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-07-31 00:01:03 +0200 |
commit | 256391f7bff25440218e7b10e445fe91f232f6a9 (patch) | |
tree | cfd0e79f1b97f83c837248e800d87a1428a49038 /src/gui | |
parent | 3ff2538f8dda2f16e2a536ffc1d994374260d6f2 (diff) | |
download | mana-client-256391f7bff25440218e7b10e445fe91f232f6a9.tar.gz mana-client-256391f7bff25440218e7b10e445fe91f232f6a9.tar.bz2 mana-client-256391f7bff25440218e7b10e445fe91f232f6a9.tar.xz mana-client-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')
-rw-r--r-- | src/gui/trade.cpp | 2 |
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; |