summaryrefslogtreecommitdiff
path: root/src/gui/windows/buyselldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/buyselldialog.cpp')
-rw-r--r--src/gui/windows/buyselldialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/buyselldialog.cpp b/src/gui/windows/buyselldialog.cpp
index ea90f756a..15d4165f3 100644
--- a/src/gui/windows/buyselldialog.cpp
+++ b/src/gui/windows/buyselldialog.cpp
@@ -100,7 +100,7 @@ void BuySellDialog::init()
enableVisibleSound(true);
dialogInstances.push_back(this);
- setVisible(true);
+ setVisible(Visible_true);
}
BuySellDialog::~BuySellDialog()
@@ -108,11 +108,11 @@ BuySellDialog::~BuySellDialog()
dialogInstances.remove(this);
}
-void BuySellDialog::setVisible(bool visible)
+void BuySellDialog::setVisible(Visible visible)
{
Window::setVisible(visible);
- if (visible)
+ if (visible == Visible_true)
{
if (mBuyButton)
mBuyButton->requestFocus();