diff options
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index dfa5b1339..6c48127c5 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -372,7 +372,7 @@ void TradeWindow::action(const ActionEvent &event) if (!inventoryWindow->isWindowVisible()) { - inventoryWindow->setVisible(true); + inventoryWindow->setVisible(Visible_true); return; } @@ -392,7 +392,7 @@ void TradeWindow::action(const ActionEvent &event) } else if (eventId == "cancel") { - setVisible(false); + setVisible(Visible_false); reset(); PlayerInfo::setTrading(Trading_false); tradeHandler->cancel(); |