summaryrefslogtreecommitdiff
path: root/src/gui/table.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-28 00:02:01 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-28 00:28:45 +0100
commite083abd148c70982a098d3f2fff8e61eee5c4f91 (patch)
treead375c5c635e5b45f5d79558bc716e9a4165c741 /src/gui/table.cpp
parenta96ad66d345807d6021f28c9b05b02328f76cc0f (diff)
downloadmana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.gz
mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.bz2
mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.xz
mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.zip
Removed a lot of useless isVisible() checks
The draw() method of a widget isn't called when a widget is not visible.
Diffstat (limited to 'src/gui/table.cpp')
-rw-r--r--src/gui/table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/table.cpp b/src/gui/table.cpp
index 4dda9246..e98d76e5 100644
--- a/src/gui/table.cpp
+++ b/src/gui/table.cpp
@@ -265,7 +265,7 @@ void GuiTable::installActionListeners()
// -- widget ops
void GuiTable::draw(gcn::Graphics* graphics)
{
- if (!mModel || !isVisible())
+ if (!mModel)
return;
if (config.getValue("guialpha", 0.8) != mAlpha)