From 50324ccd5544ca32e7c5f2a52d5c24d71ff8da18 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 29 Apr 2014 10:31:02 +0200 Subject: [PATCH] Fixed #151: White box on character selection screen (a big thanks to nimetu for the patch!) --- .../src/interface_v3/interface_manager.cpp | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/interface_manager.cpp b/code/ryzom/client/src/interface_v3/interface_manager.cpp index df2cb0376..0228977a8 100644 --- a/code/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/code/ryzom/client/src/interface_v3/interface_manager.cpp @@ -727,16 +727,6 @@ void CInterfaceManager::initOutGame() //NLMEMORY::CheckHeap (true); - // Initialize the web browser - { - CGroupHTML *pGH = dynamic_cast( CWidgetManager::getInstance()->getElementFromId(GROUP_BROWSER)); - if (pGH) - { - pGH->setActive(true); - pGH->browse(ClientCfg.PatchletUrl.c_str()); - } - } - if (ClientCfg.XMLOutGameInterfaceFiles.size()==0) { @@ -777,6 +767,17 @@ void CInterfaceManager::initOutGame() initActions(); } //NLMEMORY::CheckHeap (true); + + // Initialize the web browser + { + CGroupHTML *pGH = dynamic_cast( CWidgetManager::getInstance()->getElementFromId(GROUP_BROWSER)); + + if (pGH) + { + pGH->setActive(true); + pGH->browse(ClientCfg.PatchletUrl.c_str()); + } + } } // ------------------------------------------------------------------------------------------------