diff --git a/code/ryzom/client/src/init_main_loop.cpp b/code/ryzom/client/src/init_main_loop.cpp index 2b391114c..7373827d0 100644 --- a/code/ryzom/client/src/init_main_loop.cpp +++ b/code/ryzom/client/src/init_main_loop.cpp @@ -1578,6 +1578,13 @@ void setLoadingContinent (CContinent *continent) void initWelcomeWindow() { + CSessionBrowserImpl &sb = CSessionBrowserImpl::getInstance(); + if (sb.CurrentJoinMode!=CFarTP::LaunchEditor && NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:WELCOME")->getValueBool()) + { + std::vector v; + CWidgetManager::getInstance()->runProcedure ("welcome_opened", NULL, v); + } + /* CInterfaceManager *pIM = CInterfaceManager::getInstance(); CInterfaceGroup* welcomeWnd = dynamic_cast(CWidgetManager::getInstance()->getElementFromId("ui:interface:welcome_info")); if(welcomeWnd) @@ -1585,7 +1592,7 @@ void initWelcomeWindow() bool welcomeDbProp = NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:WELCOME")->getValueBool(); CSessionBrowserImpl &sb = CSessionBrowserImpl::getInstance(); welcomeWnd->setActive((sb.CurrentJoinMode!=CFarTP::LaunchEditor) && welcomeDbProp); - } + }*/ } // ***************************************************************************