diff options
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 91d297846..c0f174b2c 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -210,6 +210,10 @@ void Button::draw(gcn::Graphics *graphics) recalc = true; mMode = mode; } + else if (static_cast<Graphics*>(graphics)->getRedraw()) + { + recalc = true; + } } if (recalc) |