summaryrefslogtreecommitdiff
path: root/src/guichan/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widget.cpp')
-rw-r--r--src/guichan/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp
index 8bae81141..efeb80486 100644
--- a/src/guichan/widget.cpp
+++ b/src/guichan/widget.cpp
@@ -299,7 +299,7 @@ namespace gcn
if (visible)
distributeShownEvent();
- else if (!visible)
+ else
distributeHiddenEvent();
mVisible = visible;