diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/widget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index a43ea86227..6b65904ebf 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -244,6 +244,10 @@ GraphicsWidget::GraphicsWidget(GuiObject *boss, int x, int y, int w, int h) : Widget(boss, x, y, w, h), _gfx() { _flags = WIDGET_ENABLED | WIDGET_CLEARBG; _type = kGraphicsWidget; + // HACK: Don't save the background. We want to be sure that redrawing + // the widget updates the screen, even when there isn't any image + // to draw. + _hints &= ~THEME_HINT_SAVE_BACKGROUND; } GraphicsWidget::~GraphicsWidget() { |