aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorVicent Marti2008-08-15 17:57:12 +0000
committerVicent Marti2008-08-15 17:57:12 +0000
commit9ae82653ef7586aa52fae0041b56dfd2415ea399 (patch)
tree4f7b73d7eb4bf89afdcdb2b77c6d7e2090cbb52d /gui
parent9aaf83df03276cc3428cd392dc6100a2bbe3579d (diff)
downloadscummvm-rg350-9ae82653ef7586aa52fae0041b56dfd2415ea399.tar.gz
scummvm-rg350-9ae82653ef7586aa52fae0041b56dfd2415ea399.tar.bz2
scummvm-rg350-9ae82653ef7586aa52fae0041b56dfd2415ea399.zip
Bugfix: Screen not updating on theme/renderer change.
svn-id: r33908
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index c49b3cdb8f..82d6b2db91 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -58,8 +58,6 @@ void GuiObject::reflowLayout() {
if (!g_gui.xmlEval()->getWidgetData(_name, _x, _y, _w, _h)) {
warning("Could not load widget position for '%s'", _name.c_str());
}
-
- return;
if (_x < 0)
error("Widget <%s> has x < 0: %d", _name.c_str(), _x);
@@ -425,6 +423,7 @@ void NewGui::screenChange() {
// redrawn before redraw() has been called.
_redrawStatus = kRedrawFull;
redraw();
+ _system->updateScreen();
}
} // End of namespace GUI