diff options
author | Vicent Marti | 2009-03-27 12:04:43 +0000 |
---|---|---|
committer | Vicent Marti | 2009-03-27 12:04:43 +0000 |
commit | 95a8c28dd59c3e66bd2fe33875a905e12336a6ad (patch) | |
tree | e59e84a65c770d9c92dc0b1d3114a60ebcfabe90 | |
parent | 146597dd2de21ea3874edb4b0b519eddeac014da (diff) | |
download | scummvm-rg350-95a8c28dd59c3e66bd2fe33875a905e12336a6ad.tar.gz scummvm-rg350-95a8c28dd59c3e66bd2fe33875a905e12336a6ad.tar.bz2 scummvm-rg350-95a8c28dd59c3e66bd2fe33875a905e12336a6ad.zip |
Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.
svn-id: r39706
-rw-r--r-- | gui/GuiManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp index ebab4b1b2b..3754622aea 100644 --- a/gui/GuiManager.cpp +++ b/gui/GuiManager.cpp @@ -127,6 +127,10 @@ bool GuiManager::loadNewTheme(Common::String id, ThemeEngine::GraphicsMode gfx) redraw(); _system->updateScreen(); + Common::Event event; + event.type = Common::EVENT_SCREEN_CHANGED; + _system->getEventManager()->pushEvent(event); + return true; } |