summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 1194222b..d434408b 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -286,7 +286,7 @@ void SellDialog::logic()
{
Window::logic();
- if (!current_npc && isVisible()) setVisible(false);
+ if (!current_npc) setVisible(false);
}
void SellDialog::setVisible(bool visible)