summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index c5dcfd21f..48dbf1d27 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -325,7 +325,7 @@ void TradeWindow::action(const gcn::ActionEvent &event)
if (mStatus != PREPARING)
return;
- if (!inventoryWindow->isVisible())
+ if (!inventoryWindow->isWindowVisible())
{
inventoryWindow->setVisible(true);
return;