diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-02 16:17:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-02 16:17:04 +0300 |
commit | ef0f7af63a5e1bd73fb34c601f996e7aadf848c0 (patch) | |
tree | 321a3e7104e24a9e11da401eba2f2ed7066142ab /src/gui/widgets/basiccontainer.cpp | |
parent | 39a3fd884d6d585825d9f80a578c6f466a856ec3 (diff) | |
download | plus-ef0f7af63a5e1bd73fb34c601f996e7aadf848c0.tar.gz plus-ef0f7af63a5e1bd73fb34c601f996e7aadf848c0.tar.bz2 plus-ef0f7af63a5e1bd73fb34c601f996e7aadf848c0.tar.xz plus-ef0f7af63a5e1bd73fb34c601f996e7aadf848c0.zip |
Improve visible check in widgets draw code.
Diffstat (limited to 'src/gui/widgets/basiccontainer.cpp')
-rw-r--r-- | src/gui/widgets/basiccontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp index 00386a725..4803373f2 100644 --- a/src/gui/widgets/basiccontainer.cpp +++ b/src/gui/widgets/basiccontainer.cpp @@ -298,7 +298,7 @@ void BasicContainer::drawChildren(Graphics* graphics) FOR_EACH (WidgetListConstIterator, iter, mWidgets) { Widget *const widget = *iter; - if (widget->isVisible()) + if (widget->isVisibleLocal()) { // If the widget has a frame, // draw it before drawing the widget |